projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fc226e
)
Use supervise-daemon(8) for the alpine service
author
rinpatch
<rinpatch@sdf.org>
Mon, 24 Jun 2019 07:08:33 +0000
(10:08 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Mon, 24 Jun 2019 07:08:33 +0000
(10:08 +0300)
rel/files/installation/init.d/pleroma
patch
|
blob
|
history
diff --git
a/rel/files/installation/init.d/pleroma
b/rel/files/installation/init.d/pleroma
index de007c5e30fb57ddbfe6de3e01cb70ed91cb0bb5..dea1db26c8e25e87e99ce464b6b8243bc657cd56 100755
(executable)
--- a/
rel/files/installation/init.d/pleroma
+++ b/
rel/files/installation/init.d/pleroma
@@
-1,5
+1,7
@@
#!/sbin/openrc-run
+supervisor=supervise-daemon
+
# Requires OpenRC >= 0.35
directory=/opt/pleroma
@@
-14,5
+16,6
@@
retry="SIGTERM/30/SIGKILL/5"
pidfile="/var/run/pleroma.pid"
depend() {
- need nginx postgresql
+ want nginx
+ need postgresql
}