Web lists-archives.com

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




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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba