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/samba/smbd.pid ExecStart=/usr/sbin/smbd -D ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target