From 0493d77f460a110bd9920e8bdb7228fa9284bec5 Mon Sep 17 00:00:00 2001 From: Jearel Alcantara Date: Thu, 12 Jan 2017 20:55:50 -0400 Subject: [PATCH] Example Configuration File for Ubuntu 14.04 Example Configuration File for Ubuntu 14.04 and Upstart, normally in: /etc/init/ --- examples/pgweb_upstart.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 examples/pgweb_upstart.conf 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