Update OTP OpenRC service
authorNorm <normandy@biribiri.dev>
Thu, 18 Aug 2022 23:13:09 +0000 (23:13 +0000)
committerNorm <normandy@biribiri.dev>
Thu, 18 Aug 2022 23:13:09 +0000 (23:13 +0000)
This makes the paths match that of the OTP install guide on OpenRC distros.

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