summaryrefslogtreecommitdiff
path: root/debian/downtimed.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/downtimed.service')
-rw-r--r--[l---------]debian/downtimed.service13
1 files changed, 12 insertions, 1 deletions
diff --git a/debian/downtimed.service b/debian/downtimed.service
index 81f2345..2ce4506 120000..100644
--- a/debian/downtimed.service
+++ b/debian/downtimed.service
@@ -1 +1,12 @@
-systemd/downtimed.service \ No newline at end of file
+[Unit]
+Description=Downtime record keeper
+
+[Service]
+EnvironmentFile=-/etc/default/downtimed
+ExecStart=/usr/sbin/downtimed $DOWNTIMED_OPTS
+ExecReload=/bin/kill -HUP $MAINPID
+Type=forking
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target