diff options
Diffstat (limited to 'packaging/systemd/samba.service.in')
-rw-r--r-- | packaging/systemd/samba.service.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packaging/systemd/samba.service.in b/packaging/systemd/samba.service.in new file mode 100644 index 00000000000..c4181509461 --- /dev/null +++ b/packaging/systemd/samba.service.in @@ -0,0 +1,17 @@ +[Unit] +Description=Samba AD Daemon +Wants=network-online.target +After=syslog.target network.target network-online.target + +[Service] +Type=notify +NotifyAccess=all +PIDFile=@PIDDIR@/samba.pid +LimitNOFILE=16384 +EnvironmentFile=-@SYSCONFDIR@/sysconfig/samba +ExecStart=@SBINDIR@/samba --foreground --no-process-group $SAMBAOPTIONS +ExecReload=/usr/bin/kill -HUP $MAINPID +@systemd_samba_extra@ + +[Install] +WantedBy=multi-user.target |