Hi all. I have made some changes to my Samba config file, and I’m hoping someone here knows the command to restart the Samba service. I stared at the Archwiki till my eyes bled, and learned a lot about Samba just from looking for this one command. But unless I’m blind (and I probably am now) they don’t list that command on the wiki for some reason.
EDIT: Something I always wondered - If something doesn’t come with a config file, how can it magically start working with one, when the user creates it? From the wiki:
Samba is configured in the
/etc/samba/smb.conf configuration file, which is extensively documented in smb.conf(5).
Because the samba package does not provide this file, one needs to create it before starting smb .service.
I didn’t have to do that. There was a config file already in etc/samba. Either way, I’ve run across programs in the past where you create your config file. Is it just there in the programming to be able to recognize and make use of a config file?