Update OTP OpenRC service #174

Merged
floatingghost merged 1 commit from norm/akkoma:otp-openrc into develop 2022-08-19 09:25:13 +00:00

View file

@ -3,17 +3,17 @@
supervisor=supervise-daemon
# Requires OpenRC >= 0.35
directory=/opt/pleroma
directory=/opt/akkoma
command=/opt/pleroma/bin/pleroma
command=/opt/akkoma/bin/pleroma
command_args="start"
command_user=pleroma
command_user=akkoma
command_background=1
# Ask process to terminate within 30 seconds, otherwise kill it
retry="SIGTERM/30/SIGKILL/5"
pidfile="/var/run/pleroma.pid"
pidfile="/var/run/akkoma.pid"
depend() {
want nginx