summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2015-01-15 06:01:26 -0500
committerSteve Dickson <steved@redhat.com>2015-01-15 06:01:26 -0500
commitac201cca3fe0f3530fe252e269d4b3dc662a77dc (patch)
treea6aa75bcc0a3c5c4a1b519c876a5992953574347
parentfd88e113714a099e01d1fb34ade6b858904d664d (diff)
downloadnfs-utils-ac201cca3fe0f3530fe252e269d4b3dc662a77dc.tar.gz
nfs-utils-ac201cca3fe0f3530fe252e269d4b3dc662a77dc.tar.xz
nfs-utils-ac201cca3fe0f3530fe252e269d4b3dc662a77dc.zip
sm-notify: Notify hosts in background
sm-notify needs to notify hosts in background so the boot will not hang when the notified hosts do not answer. Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--systemd/rpc-statd-notify.service5
1 files changed, 2 insertions, 3 deletions
diff --git a/systemd/rpc-statd-notify.service b/systemd/rpc-statd-notify.service
index 6b13b32..941afe5 100644
--- a/systemd/rpc-statd-notify.service
+++ b/systemd/rpc-statd-notify.service
@@ -14,6 +14,5 @@ After=nfs-config.service
[Service]
EnvironmentFile=-/run/sysconfig/nfs-utils
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=-/usr/sbin/sm-notify -d $SMNOTIFYARGS
+Type=forking
+ExecStart=-/usr/sbin/sm-notify $SMNOTIFYARGS