Update OTP OpenRC service
This makes the paths match that of the OTP install guide on OpenRC distros.
This commit is contained in:
parent
59b886e86e
commit
ffbf8304e0
|
@ -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
|
Loading…
Reference in a new issue