Skip to contentSkip to conversation

sm-notify: notify hosts in background

PATCH In review Steve Dickson 1 participant 2 messages Jan 14, 2015 – Jan 15, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 systemd/rpc-statd-notify.service | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
systemd/rpc-statd-notify.service +1 -2
index 6b13b32..3ce669e 100644
@@ -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
Signature · 1 line
2.1.0
#1 lore raw
Quoted 14 lines · Steve Dickson

sm-notify needs to notify hosts in background so the boot will not hang when the notified hosts do not answer.

---
 systemd/rpc-statd-notify.service | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
systemd/rpc-statd-notify.service +0 -0
index 6b13b32..3ce669e 100644

systemd/rpc-statd-notify.service After=nfs-config.service · line 18

Quoted 7 lines
systemd/rpc-statd-notify.service +1 -2
@@ -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...