diff options
author | NeilBrown <neilb@suse.de> | 2014-01-31 11:05:56 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-03-24 16:30:04 -0400 |
commit | 013ffe58343d922505e561af57bdb1f93078361a (patch) | |
tree | ac95fe0964fcabedb35323dbf6bf09ce63225e77 | |
parent | 94ec315e6f550b2400a4498a0b11a186d843704f (diff) | |
download | nfs-utils-013ffe58343d922505e561af57bdb1f93078361a.tar.gz nfs-utils-013ffe58343d922505e561af57bdb1f93078361a.tar.xz nfs-utils-013ffe58343d922505e561af57bdb1f93078361a.zip |
start-statd: converted to use systemd
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | utils/statd/start-statd | 7 |
1 files 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 |