From 013ffe58343d922505e561af57bdb1f93078361a Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Fri, 31 Jan 2014 11:05:56 -0500 Subject: start-statd: converted to use systemd Signed-off-by: Steve Dickson --- utils/statd/start-statd | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/utils/statd/start-statd b/utils/statd/start-statd index 1b345a5..cde3583 100644 --- a/utils/statd/start-statd +++ b/utils/statd/start-statd @@ -5,5 +5,8 @@ # It should run statd with whatever flags are apropriate for this # site. PATH=/sbin:/usr/sbin -exec rpc.statd --no-notify - +if systemctl start statd.service +then : +else + exec rpc.statd --no-notify +fi -- cgit