09-20-2016, 04:50 AM
Upstart and SystemD run alongside each other, not ideal, but that's how it is at the moment. Upstart won't be removed completely by Ubuntu until the next LTS.
So if you want samba completely disabled, you need to use Upstart too. SystemD does control the init at start up, but Upstart is there too.
Permanently remove samba from starting at boot:
To restore it back:
I won't be disabling Upstart in series 3.x This is something that is better handled by Ubuntu in the next LTS.
So if you want samba completely disabled, you need to use Upstart too. SystemD does control the init at start up, but Upstart is there too.
Code:
sudo service smbd stop
sudo service nmbd stop
Permanently remove samba from starting at boot:
Code:
sudo update-rc.d -f smbd remove
sudo update-rc.d -f nmbd remove
To restore it back:
Code:
sudo update-rc.d smbd defaults
sudo update-rc.d nmbd defaults
I won't be disabling Upstart in series 3.x This is something that is better handled by Ubuntu in the next LTS.