summaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'systemd')
-rw-r--r--systemd/Makefile.am2
-rw-r--r--systemd/usbmuxd.service.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/systemd/Makefile.am b/systemd/Makefile.am
index a23f1d1..1d40c25 100644
--- a/systemd/Makefile.am
+++ b/systemd/Makefile.am
@@ -1,7 +1,7 @@
edit = \
$(SED) -r \
-e 's|@sbindir[@]|$(sbindir)|g' \
- -e 's|@localstatedir[@]|$(localstatedir)|g' \
+ -e 's|@runstatedir[@]|$(runstatedir)|g' \
< $< > $@ || rm $@
if WANT_SYSTEMD
diff --git a/systemd/usbmuxd.service.in b/systemd/usbmuxd.service.in
index bee2476..3a27aee 100644
--- a/systemd/usbmuxd.service.in
+++ b/systemd/usbmuxd.service.in
@@ -4,4 +4,4 @@ Documentation=man:usbmuxd(8)
[Service]
ExecStart=@sbindir@/usbmuxd --user usbmux --systemd
-PIDFile=@localstatedir@/run/usbmuxd.pid
+PIDFile=@runstatedir@/usbmuxd.pid