[plug] SIGHUP woody nfs

Harry McNally harrymc at decisions-and-designs.com.au
Sat Dec 29 16:43:10 WST 2001


Cheers Matt

My fundamental misunderstanding of "fun things to do with initd scripts". I 
guess explicit SIGHUP is a bit redundant in the Debian way.

A quick look in /etc/init.d reveals scripts nfs-common and 
nfs-kernel-server (I didn't install nfs-client-server today) and 
nfs-kernel-server has a reload section which essentially does:

exportfs -r

man exportfs tells me -r is "Reexport all directories" so it's doin' the trick.

Thanks for the lightning response :)

All the best
Harry

At 04:15  29/12/01 +0800, you wrote:

>Hi Harry
>
>On Sat, 29 Dec 2001, Harry McNally wrote:
>
> > How do I HUP nfs and its mates to reread
> > /etc/exports and hence some new options ?
>
>"/etc/init.d/nfs-server reload" should do the trick.
>
>I think it's /etc/init.d/netstd-nfs on potato and earlier.
>
>Most services can be told to re-read their config files through the
>scripts in /etc/init.d
>
>You can also use "stop", "start" or "restart" to force the appropriate
>daemon to stop, start or both.
>
>  - Matt



More information about the plug mailing list