init
This commit is contained in:
16
govno/server.conf
Normal file
16
govno/server.conf
Normal file
@@ -0,0 +1,16 @@
|
||||
description "Example JSON HTTP server"
|
||||
author "nitaku - matteo.abrate@gmail.com"
|
||||
|
||||
start on started mountall
|
||||
stop on shutdown
|
||||
|
||||
respawn
|
||||
respawn limit 99 5
|
||||
|
||||
script
|
||||
exec sudo -u www-data /usr/bin/python /data/examples/python_minimal_http/server.py 8009 >> /dev/null 2>> /dev/null
|
||||
|
||||
end script
|
||||
|
||||
post-start script
|
||||
end script
|
||||
Reference in New Issue
Block a user