Eventscripts: use "startstop_nfs restart" to reconfigure NFS.
authorMartin Schwenke <martin@meltin.net>
Tue, 11 Jan 2011 06:13:06 +0000 (17:13 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 11 Jan 2011 05:49:04 +0000 (16:49 +1100)
This was defaulting to just "service nfs restart", which doesn't have
the workarounds we need.

Signed-off-by: Martin Schwenke <martin@meltin.net>
config/events.d/60.nfs

index c473be83803f8891c4972a7071aa54ab623589c0..f5530e31531d8c7165aa5f05a10d8a4253cb280e 100755 (executable)
@@ -14,6 +14,7 @@ start_nfs() {
 service_name="nfs"
 service_start="start_nfs"
 service_stop="startstop_nfs stop"
+service_reconfigure="startstop_nfs restart"
 
 loadconfig