blob: 88a37b098493165eb3c06abba24c602fb1d11777 (
plain) (
tree)
|
|
#!/bin/execlineb -P
envfile /etc/s6/config/uwsgi.conf
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
ifelse { test -w /var/log } {
foreground { install -d -o s6log -g s6log /var/log/uwsgi }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/uwsgi
}
foreground { install -d -o s6log -g s6log /run/log/uwsgi }
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/uwsgi
|