Alternative: Starting smbd as a Daemon
To start the server as a daemon, you should create a script something
like this one, perhaps calling it
Make it executable with
chmod +x startsmb
You can then run
by hand or execute
To kill it, send a kill signal to the processes nmbd and smbd.