summaryrefslogtreecommitdiff
path: root/rel
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-06-24 10:08:33 +0300
committerrinpatch <rinpatch@sdf.org>2019-06-24 10:08:33 +0300
commit5b76c3141f7945f76b8f3f84990cce8332152f71 (patch)
treeef6b68fcc7c131f890bde2c2df00f6c381d5b0d2 /rel
parent7fc226e0fe6d446b0e6614f9a531f6747b1bb34c (diff)
Use supervise-daemon(8) for the alpine service
Diffstat (limited to 'rel')
-rwxr-xr-xrel/files/installation/init.d/pleroma5
1 files changed, 4 insertions, 1 deletions
diff --git a/rel/files/installation/init.d/pleroma b/rel/files/installation/init.d/pleroma
index de007c5e3..dea1db26c 100755
--- 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
}