aboutsummaryrefslogtreecommitdiff
path: root/package/htpdate/htpdate.service
diff options
context:
space:
mode:
Diffstat (limited to 'package/htpdate/htpdate.service')
-rw-r--r--package/htpdate/htpdate.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/htpdate/htpdate.service b/package/htpdate/htpdate.service
index 0c77550813..b7f1371b08 100644
--- a/package/htpdate/htpdate.service
+++ b/package/htpdate/htpdate.service
@@ -4,10 +4,10 @@ After=network.target
[Service]
Type=forking
-PIDFile=/var/run/htpdate
+PIDFile=/run/htpdate.pid
Environment=HTPDATE_ARGS="-a -s -t https://www.google.com"
EnvironmentFile=-/etc/default/htpdate
-ExecStart=/usr/bin/htpdate -D -i /var/run/htpdate $HTPDATE_ARGS
+ExecStart=/usr/bin/htpdate -D -i /run/htpdate.pid $HTPDATE_ARGS
[Install]
WantedBy=multi-user.target