diff --git a/util/postinstall.sh.in b/util/postinstall.sh.in index 1b49914d..c9ebd178 100755 --- a/util/postinstall.sh.in +++ b/util/postinstall.sh.in @@ -391,6 +391,7 @@ SOCKHELPER MYSQL_SOCKET=$(perl "$SOCKET_HELPER_SCRIPT" "$MYSQL_SOCKET") sed -e "s/mysqlpwd=verystrongpassword/mysqlpwd=${MYSQL_PASSWORD}/" -e "s/tls_enable=0/tls_enable=1/" -e "s/mysqlsocket=\/var\/run\/mysqld\/mysqld.sock/mysqlsocket=${MYSQL_SOCKET}/" "${SYSCONFDIR}/piler/piler.conf.dist" > "$PILERCONF_TMP" + [[ grep queuedir "$PILERCONF_TMP" ]] || echo queuedir=/var/piler/store >> "$PILERCONF_TMP" cat "$PILERCONF_TMP" > "${SYSCONFDIR}/piler/piler.conf" rm -f "$PILERCONF_TMP"