1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Description=Samba SMB/CIFS server After=network.target nmbd.service winbindd.service [Service] Type=forking PIDFile=/var/run/smbd.pid ExecStart=/usr/bin/smbd -D ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target