1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-23 04:55:18 +01:00

Use supervise-daemon(8) for the alpine service

This commit is contained in:
rinpatch 2019-06-24 10:08:33 +03:00
parent 7fc226e0fe
commit 5b76c3141f

View File

@ -1,5 +1,7 @@
#!/sbin/openrc-run #!/sbin/openrc-run
supervisor=supervise-daemon
# Requires OpenRC >= 0.35 # Requires OpenRC >= 0.35
directory=/opt/pleroma directory=/opt/pleroma
@ -14,5 +16,6 @@ retry="SIGTERM/30/SIGKILL/5"
pidfile="/var/run/pleroma.pid" pidfile="/var/run/pleroma.pid"
depend() { depend() {
need nginx postgresql want nginx
need postgresql
} }