Example Configuration File for Ubuntu 14.04

Example Configuration File for Ubuntu 14.04 and Upstart, normally in:
/etc/init/
This commit is contained in:
Jearel Alcantara 2017-01-12 20:55:50 -04:00 committed by GitHub
parent 4af979ac9b
commit 0493d77f46

View File

@ -0,0 +1,10 @@
description "PgWeb as a Service for Ubuntu 14.04 With Upstart"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
setuid youruser
setgid www-data
exec /usr/bin/pgweb --bind=0.0.0.0 --listen=8081