Update OTP OpenRC service
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending

This makes the paths match that of the OTP install guide on OpenRC distros.
This commit is contained in:
Norm 2022-08-18 23:13:09 +00:00
parent 59b886e86e
commit ffbf8304e0

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