diff --git a/install/piler-install.sh b/install/piler-install.sh index e775b16bf..36aae0de2 100644 --- a/install/piler-install.sh +++ b/install/piler-install.sh @@ -49,8 +49,7 @@ msg_ok "Installed Manticore Search" fetch_and_deploy_gh_release "piler" "jsuto/piler" "binary" "latest" "/tmp" "piler_*-noble-*_amd64.deb" msg_info "Configuring Piler Database" -cd /usr/local/share/piler -mysql -u root "${MARIADB_DB_NAME}" /dev/null || true msg_ok "Configured Piler Database" msg_info "Configuring Piler" @@ -78,9 +77,6 @@ iv=0123456789ABCDEF memcached_servers=127.0.0.1 -enable_clamav=1 -clamd_socket=/var/run/clamav/clamd.ctl - spam_header_line=X-Spam-Status: Yes verbosity=1 @@ -147,8 +143,8 @@ msg_info "Creating Piler Service" cat </etc/systemd/system/piler.service [Unit] Description=Piler Email Archiving -After=network.target mysql.service manticore.service -Requires=mysql.service manticore.service +After=network.target mysql.service manticore.service memcached.service +Requires=mysql.service [Service] Type=forking @@ -166,7 +162,6 @@ EOF $STD systemctl daemon-reload $STD systemctl enable --now manticore $STD systemctl enable --now memcached -$STD systemctl enable --now clamav-daemon $STD systemctl enable --now piler msg_ok "Created Piler Service"