Fix the cachefilesd.service file to point to /usr/sbin/cachefilesd
Fix the cachefilesd.service file to point to /usr/sbin/cachefilesd rather
than /sbin/cachefilesd.
Signed-off-by: David Howells <dhowells@redhat.com>
diff --git a/cachefilesd.service b/cachefilesd.service
index 29e1435..bc2fd57 100644
--- a/cachefilesd.service
+++ b/cachefilesd.service
@@ -4,7 +4,7 @@
[Service]
Type=simple
ExecStartPre=-/sbin/modprobe -qab cachefiles
-ExecStart=/sbin/cachefilesd -n -f /etc/cachefilesd.conf
+ExecStart=/usr/sbin/cachefilesd -n -f /etc/cachefilesd.conf
[Install]
WantedBy=multi-user.target
diff --git a/redhat/cachefilesd.spec b/redhat/cachefilesd.spec
index 5d314d5..900d48c 100644
--- a/redhat/cachefilesd.spec
+++ b/redhat/cachefilesd.spec
@@ -79,6 +79,7 @@
%changelog
* Wed Feb 17 2016 David Howells <dhowells@redhat.com> 0.10.8-1
- Use systemd interaction macros in specfile installation sections [RH BZ 850053].
+- Fix the service file to use /usr/sbin/ rather than /sbin/.
* Wed Feb 3 2016 David Howells <dhowells@redhat.com> 0.10.7-1
- Call setgroups() before calling setuid() (caught by rpmlint).