Merge pull request 'Update OTP OpenRC service' (#174) from norm/akkoma:otp-openrc...
authorfloatingghost <hannah@coffee-and-dreams.uk>
Fri, 19 Aug 2022 09:25:12 +0000 (09:25 +0000)
committerfloatingghost <hannah@coffee-and-dreams.uk>
Fri, 19 Aug 2022 09:25:12 +0000 (09:25 +0000)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/174

rel/files/installation/init.d/akkoma [moved from rel/files/installation/init.d/pleroma with 70% similarity]

similarity index 70%
rename from rel/files/installation/init.d/pleroma
rename to rel/files/installation/init.d/akkoma
index dea1db26c8e25e87e99ce464b6b8243bc657cd56..ea6ea35807721cf7609ba313d4d1e75a4331c1ce 100755 (executable)
@@ -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