summaryrefslogtreecommitdiff
path: root/examples/dbdb-logger.service
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dbdb-logger.service')
-rw-r--r--examples/dbdb-logger.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/dbdb-logger.service b/examples/dbdb-logger.service
new file mode 100644
index 0000000..b0827bc
--- /dev/null
+++ b/examples/dbdb-logger.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=DBDB / Iris-delay-stats log service
+After=network.target
+
+[Service]
+ExecStart=/srv/www/dbdb/bin/dbdb-logger
+User=www-dbdb
+Restart=on-failure
+RestartSec=60
+
+[Install]
+WantedBy=multi-user.target