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
slash@thezoneinternet.com.au
2006-Apr-07 07:02 UTC
[Samba] How to restart samba with reboot
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@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