projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
de007c5e30fb57ddbfe6de3e01cb70ed91cb0bb5
[akkoma]
/
rel
/
files
/
installation
/
init.d
/
pleroma
1
#!/sbin/openrc-run
2
3
# Requires OpenRC >= 0.35
4
directory=/opt/pleroma
5
6
command=/opt/pleroma/bin/pleroma
7
command_args="start"
8
command_user=pleroma
9
command_background=1
10
11
# Ask process to terminate within 30 seconds, otherwise kill it
12
retry="SIGTERM/30/SIGKILL/5"
13
14
pidfile="/var/run/pleroma.pid"
15
16
depend() {
17
need nginx postgresql
18
}