[Samba] /etc/init.d/samba in Ubuntu_18.04

Thomas Glanzmann thomas at glanzmann.de
Thu Oct 18 13:31:56 UTC 2018


Hello,

> Please, which command should I use to stop and start the Samba/AD service
> correctly?

personally I use for active directory:

samba

For standalone file server:

smbd

And I use kill to stop them. I use the pid in the pid file to do so.
Works fine for me. But it is probably better to use the infrastructure
of the operating system. But since I have multiple samba systems running
on a single node I go currently with the above but also specify the
config file.

Cheers,
        Thomas



More information about the samba mailing list