1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=Samba AD Daemon After=syslog.target network.target [Service] Type=forking PIDFile=/var/run/samba.pid LimitNOFILE=16384 EnvironmentFile=-/etc/conf.d/samba ExecStart=/usr/sbin/samba $SAMBAOPTIONS ExecReload=/usr/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target