mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
samba: cosmetics. disable ratelimit
This commit is contained in:
parent
c950ea09fe
commit
a4f728dbd2
@ -23,7 +23,6 @@ if [ -f /storage/.cache/services/samba.conf ]; then
|
|||||||
. /storage/.cache/services/samba.conf
|
. /storage/.cache/services/samba.conf
|
||||||
|
|
||||||
if [ "$SAMBA_AUTOSHARE" == "true" ] ; then
|
if [ "$SAMBA_AUTOSHARE" == "true" ] ; then
|
||||||
systemctl restart samba-config.service
|
|
||||||
systemctl restart smbd.service
|
systemctl restart smbd.service
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -12,6 +12,7 @@ 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
|
||||||
|
StartLimitInterval=0
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -13,6 +13,7 @@ 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
|
||||||
|
StartLimitInterval=0
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user