mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-27 08:35:22 +00:00
5 lines
271 B
Bash
5 lines
271 B
Bash
|
#!/bin/sh
|
||
|
# `/sbin/setuser www-data` runs the given command as the user `www-data`.
|
||
|
cd /srv/webvirtcloud
|
||
|
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
|