Commit 7658c786 authored by Marc Duez's avatar Marc Duez

server : install auto-restart simple xml-rpc server for custom fuse

parent 67025ca9
......@@ -254,7 +254,9 @@ start on (local-filesystems and net-device-up IFACE=eth0)
stop on shutdown
respawn limit 8 60 # Give up if restart occurs 8 times in 60 seconds.
exec sudo -u www-data python $CWD/web2py/web2py.py -K vidjil
respawn" > /etc/init/web2py-scheduler.conf
respawn
exec sudo -u www-data python $CWD/fuse_server.py
" > /etc/init/web2py-scheduler.conf
## you can reload uwsgi with
# restart uwsgi-emperor
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment