mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
samba: remove pids on start
This commit is contained in:
parent
751d8d2b74
commit
1aff8fc7cb
@ -9,6 +9,7 @@ ConditionPathExists=/run/samba/smb.conf
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/var/run/nmbd-smb.conf.pid
|
||||
ExecStartPre=/bin/rm -f /var/run/nmbd-smb.conf.pid
|
||||
ExecStart=/usr/bin/nmbd --configfile=/run/samba/smb.conf
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
|
@ -10,6 +10,7 @@ ConditionPathExists=/run/samba/smb.conf
|
||||
Type=forking
|
||||
PIDFile=/var/run/smbd-smb.conf.pid
|
||||
LimitNOFILE=16384
|
||||
ExecStartPre=/bin/rm -f /var/run/smbd-smb.conf.pid
|
||||
ExecStart=/usr/bin/smbd --configfile=/run/samba/smb.conf
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user