blob: 7a22e648c52cf77a5e2a6df04ede15625113a922 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/sbin/openrc-run
name="uwsgi"
command="/usr/sbin/uwsgi"
command_args="--ini /etc/uwsgi/uwsgi.ini --daemonize=/var/log/uwsgi/uwsgi.log"
retry="INT/30/KILL/5"
start_stop_daemon_args="--quiet"
depend() {
need net
}
start_pre() {
checkpath --directory --owner uwsgi:uwsgi \
--mode 0775 /run/uwsgi /var/log/uwsgi
}
|