diff --git a/examples/pgweb_upstart.conf b/examples/pgweb_upstart.conf new file mode 100644 index 0000000..678e770 --- /dev/null +++ b/examples/pgweb_upstart.conf @@ -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