distribution/packages/network/samba/system.d.opt/nmbd.service
2022-02-05 09:23:32 -05:00

19 lines
452 B
Desktop File

[Unit]
Description=Samba NMB Daemon
Wants=network-online.target samba-config.service
After=network-online.target samba-config.service
ConditionPathExists=!/storage/.cache/services/samba.disabled
ConditionPathExists=/run/samba/smb.conf
[Service]
Type=forking
PIDFile=/run/samba/nmbd.pid
ExecStart=/usr/sbin/nmbd
ExecReload=/bin/kill -HUP $MAINPID
TimeoutStopSec=1s
Restart=always
RestartSec=2
StartLimitInterval=0
[Install]
WantedBy=multi-user.target