How to restart Samba conveniently

Matt Chapman matty at
Tue Oct 19 17:56:23 GMT 1999

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 mailing list