mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
fixes
This commit is contained in:
@@ -152,27 +152,8 @@ cat <<'EOF' >/etc/cron.d/invoiceninja
|
||||
EOF
|
||||
msg_ok "Set up Cron"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<'EOF' >/etc/systemd/system/invoiceninja-worker.service
|
||||
[Unit]
|
||||
Description=InvoiceNinja Queue Worker (via Supervisor)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/supervisord -c /etc/supervisor/supervisord.conf
|
||||
ExecReload=/usr/bin/supervisorctl reload
|
||||
ExecStop=/usr/bin/supervisorctl stop all
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl daemon-reload
|
||||
msg_ok "Created Service"
|
||||
|
||||
msg_info "Enabling Services"
|
||||
systemctl enable -q --now php8.4-fpm nginx supervisor invoiceninja-worker
|
||||
systemctl enable -q --now php8.4-fpm nginx supervisor
|
||||
msg_ok "Enabled Services"
|
||||
|
||||
motd_ssh
|
||||
|
||||
Reference in New Issue
Block a user