summaryrefslogtreecommitdiffstats
path: root/debian/patches/var-run.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/var-run.patch')
-rw-r--r--debian/patches/var-run.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/var-run.patch b/debian/patches/var-run.patch
new file mode 100644
index 0000000..d66cd57
--- /dev/null
+++ b/debian/patches/var-run.patch
@@ -0,0 +1,16 @@
+Description: Use /run instead of /var/run
+Author: Valentin Vidic <vvidic@debian.org>
+Last-Update: 2018-12-09
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/ldirectord/systemd/ldirectord.service.in
++++ b/ldirectord/systemd/ldirectord.service.in
+@@ -8,7 +8,7 @@
+ ExecStop=@sbindir@/ldirectord stop
+ ExecStopPost=@RM@ -f /var/lock/subsys/ldirectord
+ ExecReload=@sbindir@/ldirectord reload
+-PIDFile=/var/run/ldirectord.ldirectord.pid
++PIDFile=/run/ldirectord.ldirectord.pid
+ Type=forking
+ KillMode=none
+