summaryrefslogtreecommitdiff
path: root/debian/systemd/downtimed.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/systemd/downtimed.service')
-rw-r--r--debian/systemd/downtimed.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/systemd/downtimed.service b/debian/systemd/downtimed.service
new file mode 100644
index 0000000..41ff8c3
--- /dev/null
+++ b/debian/systemd/downtimed.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Dowmtimed server
+After=network.target
+
+[Service]
+EnvironmentFile=-/etc/default/downtimed
+ExecStart=/usr/sbin/downtimed -D $DOWNTIMED_OPTS
+KillMode=process
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target
+Alias=downtimed.service