X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=debian%2Fpatches%2F25-systemd-daemon-paths.patch;fp=debian%2Fpatches%2F25-systemd-daemon-paths.patch;h=d9f3b999cb5a86d554975af9789696de55fd84da;hp=0000000000000000000000000000000000000000;hb=52a7a44f95fab091becece32a6995a409fd59fd1;hpb=6d9a853c096f129de3cc22e74bc450dfa73e1d56 diff --git a/debian/patches/25-systemd-daemon-paths.patch b/debian/patches/25-systemd-daemon-paths.patch new file mode 100644 index 0000000..d9f3b99 --- /dev/null +++ b/debian/patches/25-systemd-daemon-paths.patch @@ -0,0 +1,24 @@ +Description: Adjust program paths in systemd units +Author: Martin Pitt +Forwarded: No + +Index: nfs-utils-1.2.8/systemd/rpc-statd-notify.service +=================================================================== +--- nfs-utils-1.2.8.orig/systemd/rpc-statd-notify.service ++++ nfs-utils-1.2.8/systemd/rpc-statd-notify.service +@@ -16,4 +16,4 @@ After=nfs-config.service + [Service] + EnvironmentFile=-/run/sysconfig/nfs-utils + Type=forking +-ExecStart=-/usr/sbin/sm-notify $SMNOTIFYARGS ++ExecStart=-/sbin/sm-notify $SMNOTIFYARGS +Index: nfs-utils-1.2.8/systemd/rpc-statd.service +=================================================================== +--- nfs-utils-1.2.8.orig/systemd/rpc-statd.service ++++ nfs-utils-1.2.8/systemd/rpc-statd.service +@@ -14,4 +14,4 @@ After=nfs-config.service + EnvironmentFile=-/run/sysconfig/nfs-utils + Type=forking + PIDFile=/var/run/rpc.statd.pid +-ExecStart=/usr/sbin/rpc.statd --no-notify $STATDARGS ++ExecStart=/sbin/rpc.statd --no-notify $STATDARGS