[Samba] How to restart samba with reboot

E eehines at comcast.net
Fri Apr 7 12:50:24 GMT 2006

You also can use chkconfig  <man chkconfig> to make the starts/stops 
happen automatically on bootup /shutdown.

At least with SuSE and FC (I don't know about FreeBSD, but I suspect 
it's not too different), you would be wanting to start/stop smb (and 
later, as your setup gets more complex, winbindd, dhcpd, and whatever 
your system is calling your DNS server--named, I think).  <chkconfig 
--list> will give you a list of services and their current status.

Eric Hines

slash at thezoneinternet.com.au wrote:
> This is seriously more a FREEBSD Question then anything, if you 
> understand how
> the rc scripts work you should simply run the following:
> /usr/local/etc/rc.d/samba.sh
> this will show you all the options of the rc script, in your case your 
> after
> reload to re-read the smb.conf
> thus you would run "/usr/local/etc/rc.d/samba.sh reload"
> or
> "/usr/local/etc/rc.d/samba.sh restart"
> to force samba to shutdown and start again!
> this will work providing you used ports to install samba
> otherwise you could issue "killall -HUP smbd" which is the same as 
> above however
> sends a kill signal to the samba process to re-read the smb.conf...
> hope that helps
> --Chris Anders
> www.anders.net.au
> Quoting Jeffrey <bsduser at exemail.com.au>:
>> Hi,
>> This is may songs like very easy question. But I am new to Samba. 
>> After I have changed smb.conf, how do I get samba to restart without 
>> reboot the machine. I am using FreeBSD 6.
>> Thanks,
>> Jeffrey -- To unsubscribe from this list go to the following URL and 
>> read the
>> instructions:  https://lists.samba.org/mailman/listinfo/samba
> ----------------------------------------------------------------
> This message was sent using Zonemail.
> http://www.thezoneinternet.com.au

The mode in which the inevitable comes to pass is through effort.
	--Justice Oliver Wendell Holmes, Jr

More information about the samba mailing list