projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
[akkoma]
/
installation
/
init.d
/
pleroma
1
#!/sbin/openrc-run
2
3
# Requires OpenRC >= 0.35
4
directory=/opt/pleroma
5
6
command=/usr/bin/mix
7
command_args="phx.server"
8
command_user=pleroma:pleroma
9
command_background=1
10
11
export PORT=4000
12
export MIX_ENV=prod
13
14
# Ask process to terminate within 30 seconds, otherwise kill it
15
retry="SIGTERM/30/SIGKILL/5"
16
17
pidfile="/var/run/pleroma.pid"
18
19
depend() {
20
need nginx postgresql
21
}