1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Description=Samba NMB Daemon After=syslog.target network.target [Service] Type=forking PIDFile=/run/nmbd.pid EnvironmentFile=-/etc/sysconfig/samba ExecStart=/usr/sbin/nmbd $NMBDOPTIONS [Install] WantedBy=multi-user.target