aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-02-17 14:09:03 +0000
committerDavid Howells <dhowells@redhat.com>2016-02-17 14:10:00 +0000
commit047e98d3cef95cffec2ae0c51b866d43c35cdd45 (patch)
treed1d0c12855fc4f34d09f1c39e3205d410a81bd27
parent970736c58b62d5adc73bf82485649de29d66c27a (diff)
downloadcachefilesd-047e98d3cef95cffec2ae0c51b866d43c35cdd45.tar.gz
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>
-rw-r--r--cachefilesd.service2
-rw-r--r--redhat/cachefilesd.spec1
2 files changed, 2 insertions, 1 deletions
diff --git a/cachefilesd.service b/cachefilesd.service
index 29e1435..bc2fd57 100644
--- a/cachefilesd.service
+++ b/cachefilesd.service
@@ -4,7 +4,7 @@ Description=Local network file caching management daemon
[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 @@ install -m 644 cachefilesd.service %{buildroot}%{_unitdir}/cachefilesd.service
%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).