From: Norm Date: Thu, 18 Aug 2022 23:13:09 +0000 (+0000) Subject: Update OTP OpenRC service X-Git-Url: http://git.squeep.com/?a=commitdiff_plain;h=ffbf8304e057631f4d8bdf56cb87f8bacafb751e;hp=-c;p=akkoma Update OTP OpenRC service This makes the paths match that of the OTP install guide on OpenRC distros. --- ffbf8304e057631f4d8bdf56cb87f8bacafb751e diff --git a/rel/files/installation/init.d/pleroma b/rel/files/installation/init.d/akkoma similarity index 70% rename from rel/files/installation/init.d/pleroma rename to rel/files/installation/init.d/akkoma index dea1db26c..ea6ea3580 100755 --- a/rel/files/installation/init.d/pleroma +++ b/rel/files/installation/init.d/akkoma @@ -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