summaryrefslogtreecommitdiff
path: root/installation/init.d
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-04-17 12:22:32 +0300
committerrinpatch <rinpatch@sdf.org>2019-04-17 12:22:32 +0300
commit627e5a0a4992cc19fc65a7e93a09c470c8e2bf33 (patch)
tree0f38b475e8554863a1cbbd7750c19d4cd1336eb1 /installation/init.d
parentd6ab701a14f7c9fb4d59953648c425e04725fc62 (diff)
parent73df3046e014ae16e03f16a9c82921652cefcb54 (diff)
downloadpleroma-627e5a0a4992cc19fc65a7e93a09c470c8e2bf33.tar.gz
pleroma-627e5a0a4992cc19fc65a7e93a09c470c8e2bf33.zip
Merge branch 'develop' into feature/database-compaction
Diffstat (limited to 'installation/init.d')
-rwxr-xr-xinstallation/init.d/pleroma6
1 files changed, 3 insertions, 3 deletions
diff --git a/installation/init.d/pleroma b/installation/init.d/pleroma
index 9582d65d4..ed50bb551 100755
--- a/installation/init.d/pleroma
+++ b/installation/init.d/pleroma
@@ -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"
@@ -12,10 +12,10 @@ export PORT=4000
export MIX_ENV=prod
# 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"
depend() {
need nginx postgresql
-} \ No newline at end of file
+}