On RHEL, "service nfs stop;service nfs start" and "service nfs restart"
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 18 Aug 2010 21:18:22 +0000 (07:18 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 24 Aug 2010 00:21:39 +0000 (10:21 +1000)
commit0f3c950142c38677e9051294586aabbe961f7f43
tree53f9bfe4685af7f4e44fb10f46a6cc208409bb6a
parent1d1d475d7e18620330aaee95038c40b27e5496d4
On RHEL,    "service nfs stop;service nfs start"  and "service nfs restart"
    sometimes (very rarely) fails to restart the service.

    Add a function to restart NFSd on SLES and RHEL-like systems.

    If we detect the system is unhealthy due to kNFSd not running,
    try to restart the service again "service nfs restart" and
    hope for the best.

CQ1019372
config/events.d/60.nfs
config/functions