Linux NFS development
 help / color / mirror / Atom feed
* [PATCH] sm-notify: notify hosts in background
@ 2015-01-14 19:55 Steve Dickson
  2015-01-15 11:19 ` Steve Dickson
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Dickson @ 2015-01-14 19:55 UTC (permalink / raw)
  To: Linux NFS Mailing list

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 -d $SMNOTIFYARGS
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] sm-notify: notify hosts in background
  2015-01-14 19:55 [PATCH] sm-notify: notify hosts in background Steve Dickson
@ 2015-01-15 11:19 ` Steve Dickson
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2015-01-15 11:19 UTC (permalink / raw)
  To: Linux NFS Mailing list



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... 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-15 11:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-14 19:55 [PATCH] sm-notify: notify hosts in background Steve Dickson
2015-01-15 11:19 ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox