Update service files of OpenRC and systemd to new recommended paths
[akkoma] / installation / init.d / pleroma
index 2b211df65ff59cebc2167a53c4950495a89191fa..ed50bb551a0b9591a7ea15503083859b2bfa77ca 100755 (executable)
@@ -1,7 +1,7 @@
 #!/sbin/openrc-run
 
 # Requires OpenRC >= 0.35
-directory=~pleroma/pleroma
+directory=/opt/pleroma
 
 command=/usr/bin/mix
 command_args="phx.server"
@@ -18,4 +18,4 @@ pidfile="/var/run/pleroma.pid"
 
 depend() {
     need nginx postgresql
-}
\ No newline at end of file
+}