projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Streamer refactoring
[akkoma]
/
installation
/
init.d
/
pleroma
diff --git
a/installation/init.d/pleroma
b/installation/init.d/pleroma
index 9582d65d45c37c6d326bae49dc9a59b206d5f780..ed50bb551a0b9591a7ea15503083859b2bfa77ca 100755
(executable)
--- a/
installation/init.d/pleroma
+++ b/
installation/init.d/pleroma
@@
-1,7
+1,7
@@
#!/sbin/openrc-run
# Requires OpenRC >= 0.35
#!/sbin/openrc-run
# Requires OpenRC >= 0.35
-directory=
~pleroma
/pleroma
+directory=
/opt
/pleroma
command=/usr/bin/mix
command_args="phx.server"
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
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
pidfile="/var/run/pleroma.pid"
depend() {
need nginx postgresql
-}
\ No newline at end of file
+}