summaryrefslogtreecommitdiff
path: root/community/hdapsd/hdapsd.systemd
diff options
context:
space:
mode:
Diffstat (limited to 'community/hdapsd/hdapsd.systemd')
-rw-r--r--community/hdapsd/hdapsd.systemd12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/hdapsd/hdapsd.systemd b/community/hdapsd/hdapsd.systemd
new file mode 100644
index 000000000..0f35250a7
--- /dev/null
+++ b/community/hdapsd/hdapsd.systemd
@@ -0,0 +1,12 @@
+[Unit]
+Description=HDAPS userspace hard drive protection daemon
+After=syslog.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/hdapsd.pid
+ExecStart=/usr/bin/hdapsd -bp
+ExecReload=/bin/kill -HUP ${MAINPID}
+
+[Install]
+WantedBy=multi-user.target