aboutsummaryrefslogtreecommitdiffstats
path: root/pgaas/src/stage/opt/app/pgaas/init/init-pgaas-idns.conf
diff options
context:
space:
mode:
Diffstat (limited to 'pgaas/src/stage/opt/app/pgaas/init/init-pgaas-idns.conf')
-rw-r--r--pgaas/src/stage/opt/app/pgaas/init/init-pgaas-idns.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/pgaas/src/stage/opt/app/pgaas/init/init-pgaas-idns.conf b/pgaas/src/stage/opt/app/pgaas/init/init-pgaas-idns.conf
new file mode 100644
index 0000000..62714f1
--- /dev/null
+++ b/pgaas/src/stage/opt/app/pgaas/init/init-pgaas-idns.conf
@@ -0,0 +1,21 @@
+# PGaaS - PostgreSQL as a Service
+#
+# The PGaaS iDNS server provides information on the system, primarily for the iDNS system
+
+description "PGaaS iDNS server"
+
+start on runlevel [2345]
+stop on runlevel [!2345]
+
+respawn
+respawn limit 10 5
+umask 022
+setuid postgres
+
+pre-start script
+ test -x /opt/app/pgaas/lib/iDNS-responder || { stop; exit 0; }
+end script
+
+script
+ /opt/app/pgaas/lib/iDNS-responder
+end script