1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-03-21 18:14:51 +00:00

Dockerization

This commit is contained in:
Jethro Yu 2015-10-15 20:47:10 +08:00
parent bccfbb0010
commit 6f0c3dc5ac
5 changed files with 75 additions and 0 deletions

4
conf/runit/novncd.sh Executable file
View file

@ -0,0 +1,4 @@
#!/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/python /srv/webvirtcloud/console/novncd >> /var/log/novncd.log 2>&1