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>
Wed, 18 Aug 2010 21:18:22 +0000 (07:18 +1000)
commit25c4ce7e919f13226219f036bcffd2be76b2f06c
treef01e65aed4122352744cedc5c73e27fd149982b2
parentc3eb53509331045074579468d94ed7e31101bba4
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