diff options
author | rinpatch <rinpatch@sdf.org> | 2019-06-24 10:08:33 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-06-24 10:08:33 +0300 |
commit | 5b76c3141f7945f76b8f3f84990cce8332152f71 (patch) | |
tree | ef6b68fcc7c131f890bde2c2df00f6c381d5b0d2 | |
parent | 7fc226e0fe6d446b0e6614f9a531f6747b1bb34c (diff) | |
download | pleroma-5b76c3141f7945f76b8f3f84990cce8332152f71.tar.gz |
Use supervise-daemon(8) for the alpine service
-rwxr-xr-x | rel/files/installation/init.d/pleroma | 5 |
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 } |