From: rinpatch Date: Mon, 24 Jun 2019 07:08:33 +0000 (+0300) Subject: Use supervise-daemon(8) for the alpine service X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=5b76c3141f7945f76b8f3f84990cce8332152f71;p=akkoma Use supervise-daemon(8) for the alpine service --- 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 }