How to restart Samba conveniently
John J. LeMay Jr.
jlemay at njmc.com
Tue Oct 19 18:08:03 GMT 1999
Wouldn't sending smbd/nmbd a hangup accomplish the same?
"ps -ax|grep -i mbd" and capture the pids for nmbd and smbd
Then do "kill -1 <pid> <pid>"
...where "pid" is the pids for smbd and nmbd.
On Wed, 20 Oct 1999, Matt Chapman wrote:
> On Wed, Oct 20, 1999 at 03:57:51AM +1000, Steve Litt wrote:
> > The one thing I don't see is the start/stop/restart commands like I used to
> > have in my Red Hat rpm installation:
> > /etc/rc.d/init.d/smb restart
> > It was a shellscript to read the .pid files, stop, start or stop and start
> > smbd and nmbd depending on the argument. Is there such a thing included in
> > 2.0.5a compiled from source, and if not, what's the best way for me to
> > "roll my own".
> See packaging/RedHat. You might want to change the hard-coded
> /etc/smb.conf -> /usr/local/samba/lib/smb.conf assuming you have it
> there now.
> Matthew "Austin" Chapman
> SysAdmin, Developer, Samba Team Member
More information about the samba