summaryrefslogtreecommitdiff
path: root/packaging/systemd/nmb.service
blob: 6231118abe8a5463fc49c7dbd5ad3860a5a68585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Samba NMB Daemon
Wants=network-online.target
After=syslog.target network.target network-online.target

[Service]
Type=notify
NotifyAccess=all
PIDFile=/run/nmbd.pid
EnvironmentFile=-/etc/sysconfig/samba
ExecStart=/usr/sbin/nmbd --foreground --no-process-group $NMBDOPTIONS
ExecReload=/usr/bin/kill -HUP $MAINPID
LimitCORE=infinity

[Install]
WantedBy=multi-user.target