[Samba] How to restart samba with reboot
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.
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:
> this will show you all the options of the rc script, in your case your
> reload to re-read the smb.conf
> thus you would run "/usr/local/etc/rc.d/samba.sh reload"
> "/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
> Quoting Jeffrey <bsduser at exemail.com.au>:
>> 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.
>> 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.
The mode in which the inevitable comes to pass is through effort.
--Justice Oliver Wendell Holmes, Jr
More information about the samba