rereading the smb.conf file?

Support rjn103s at mgr3.k12.mo.us
Fri Dec 17 19:16:06 GMT 1999


Greetings,

Is the correct way to have the smbd and nmbd to reload a changed smb.conf
somthing like the below script?

#!/bin/sh 
smbspool=/var/spool/samba 
pidfiledir=/var/run 
smbd=/usr/local/sbin/smbd 
nmbd=/usr/local/sbin/nmbd 
 
kill -s SIGHUP `cat $pidfiledir/smbd.pid` 
kill -s SIGHUP `cat $pidfiledir/nmbd.pid` 
 

Would this cause any side effects?

Thanks and thoughts welcome!
-- 
Richard Nelson
Try Something Without GPF's - - Not To Mention The Cost:)      
FreeBSD http://www.freebsd.org RedHat http://www.redhat.com   
Strong Supporter of Visual Tcl http://www.neuron.com/stewart/vtcl/


More information about the samba mailing list