[Samba] /etc/init.d/samba in Ubuntu_18.04
Rowland Penny
rpenny at samba.org
Thu Oct 18 13:25:14 UTC 2018
On Thu, 18 Oct 2018 10:19:22 -0300
Anderson Hoffmann do Carmo via samba <samba at lists.samba.org> wrote:
> Hello
>
> I use a script for backup Samba/AD and before running the backup I
> use the command '/etc/init.d/samba stop'
> After I migrated ubuntu from version 16 to version 18, this command
> was invalid
>
> root at gserv2:~#
> root at gserv2:~# */etc/init.d/samba stop*
> -bash: /etc/init.d/samba: No such file or directory
> root at gserv2:~#
>
> Please, which command should I use to stop and start the Samba/AD
> service correctly?
>
> Thanks,
> Anderson Hoffmann
This is really a question for your OS, but I think you need:
sudo systemctl stop samba
Rowland
More information about the samba
mailing list