mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-17 10:39:17 +00:00
Use supervise-daemon(8) for the alpine service
This commit is contained in:
parent
7fc226e0fe
commit
5b76c3141f
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue