1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 03:54:15 +00:00
webvirtcloud/conf/runit/webvirtcloud.sh

5 lines
279 B
Bash
Raw Normal View History

2015-10-15 12:47:10 +00:00
#!/bin/sh
# `/sbin/setuser www-data` runs the given command as the user `www-data`.
2020-10-16 13:56:05 +00:00
cd /srv/webvirtcloud || exit
2015-10-15 12:47:10 +00:00
exec /sbin/setuser www-data /srv/webvirtcloud/venv/bin/gunicorn webvirtcloud.wsgi:application -c /srv/webvirtcloud/gunicorn.conf.py >> /var/log/webvirtcloud.log 2>&1