diff options
-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 |