Message ID | 1421265337-8438-1-git-send-email-steved@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 01/14/2015 02:55 PM, Steve Dickson wrote: > 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> > --- > systemd/rpc-statd-notify.service | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/systemd/rpc-statd-notify.service b/systemd/rpc-statd-notify.service > index 6b13b32..3ce669e 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 > +Type=forking > ExecStart=-/usr/sbin/sm-notify $SMNOTIFYARGS > Committed... -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/systemd/rpc-statd-notify.service b/systemd/rpc-statd-notify.service index 6b13b32..3ce669e 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 +Type=forking ExecStart=-/usr/sbin/sm-notify -d $SMNOTIFYARGS
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> --- systemd/rpc-statd-notify.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)