summarylogtreecommitdiffstats
path: root/telldusd.service
diff options
context:
space:
mode:
Diffstat (limited to 'telldusd.service')
-rw-r--r--telldusd.service8
1 files changed, 4 insertions, 4 deletions
diff --git a/telldusd.service b/telldusd.service
index d61c7111aa8f..f03a6c6de338 100644
--- a/telldusd.service
+++ b/telldusd.service
@@ -1,14 +1,14 @@
-# Telldusd service unit file
-#
[Unit]
Description=Telldus-core service telldusd
After=basic.target
[Service]
Type=forking
-ExecStart=/usr/bin/telldusd
-ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/run/telldusd.pid
+ExecStart=/usr/bin/telldusd
+
+ExecReload=/usr/bin/kill --signal HUP "${MAINPID}"
+
[Install]
WantedBy=multi-user.target