Merge pull request 'Update OTP OpenRC service' (#174) from norm/akkoma:otp-openrc into develop

Reviewed-on: AkkomaGang/akkoma#174
This commit is contained in:
floatingghost 2022-08-19 09:25:12 +00:00
commit f8dffa6126

View file

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