mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
samba: smbd/nmbd: always restart on crash
This commit is contained in:
parent
ee6c904146
commit
83a9ece141
@ -12,6 +12,8 @@ PIDFile=/var/run/nmbd-smb.conf.pid
|
|||||||
ExecStart=/usr/bin/nmbd --configfile=/run/samba/smb.conf
|
ExecStart=/usr/bin/nmbd --configfile=/run/samba/smb.conf
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
TimeoutStopSec=1s
|
TimeoutStopSec=1s
|
||||||
|
Restart=always
|
||||||
|
RestartSec=2
|
||||||
StartLimitInterval=0
|
StartLimitInterval=0
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -13,6 +13,8 @@ LimitNOFILE=16384
|
|||||||
ExecStart=/usr/bin/smbd --configfile=/run/samba/smb.conf
|
ExecStart=/usr/bin/smbd --configfile=/run/samba/smb.conf
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
TimeoutStopSec=1s
|
TimeoutStopSec=1s
|
||||||
|
Restart=always
|
||||||
|
RestartSec=2
|
||||||
StartLimitInterval=0
|
StartLimitInterval=0
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user