restart samba 4 code example
Example: restart samba service
sudo service smbd status
sudo service smbd start
sudo service smbd stop
sudo service smbd restart
sudo service smbd status
sudo service smbd start
sudo service smbd stop
sudo service smbd restart