File start-statd.patch of Package nfs-utils.12699

1/ use correct patch for systemctl
2/ use correct name for rpc-statd.service

---
 utils/statd/start-statd |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- nfs-utils-1.3.0.orig/utils/statd/start-statd
+++ nfs-utils-1.3.0/utils/statd/start-statd
@@ -4,8 +4,8 @@
 # /var/run/rpc.statd.pid).
 # It should run statd with whatever flags are apropriate for this
 # site.
-PATH=/sbin:/usr/sbin
-if systemctl start statd.service
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+if systemctl start rpc-statd.service
 then :
 else
     exec rpc.statd --no-notify
openSUSE Build Service is sponsored by