19 lines
452 B
Desktop File
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
|