[Samba] Starting & Stopping Samba (smb.conf modifications)

Reindl Harald h.reindl at thelounge.net
Wed Mar 23 17:47:07 UTC 2016



Am 23.03.2016 um 15:36 schrieb lingpanda101 at gmail.com:
If I make a change to the smb.conf file. Can I simply invoke
> 'smbcontrol all reload-config', or must I kill all samba services and
> restart them?

[root at rh:~]$ cat /etc/systemd/system/smb.service
[Unit]
Description=Samba SMB Daemon

[Service]
Type=forking
LimitNOFILE=32768
ExecStart=/usr/sbin/smbd -D
ExecReload=/usr/bin/kill -HUP $MAINPID


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20160323/bdd94ddb/signature.sig>


More information about the samba mailing list