From a4f728dbd28de6e185c6629c8b1048df0b963f19 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Wed, 18 Dec 2013 01:34:31 +0200 Subject: [PATCH] samba: cosmetics. disable ratelimit --- packages/network/samba/scripts/samba-autoshare | 1 - packages/network/samba/system.d.opt/nmbd.service | 1 + packages/network/samba/system.d.opt/smbd.service | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/network/samba/scripts/samba-autoshare b/packages/network/samba/scripts/samba-autoshare index 4bc78b60b8..01dbf62eb2 100755 --- a/packages/network/samba/scripts/samba-autoshare +++ b/packages/network/samba/scripts/samba-autoshare @@ -23,7 +23,6 @@ if [ -f /storage/.cache/services/samba.conf ]; then . /storage/.cache/services/samba.conf if [ "$SAMBA_AUTOSHARE" == "true" ] ; then - systemctl restart samba-config.service systemctl restart smbd.service fi fi diff --git a/packages/network/samba/system.d.opt/nmbd.service b/packages/network/samba/system.d.opt/nmbd.service index 35711a0185..0a14c6ceab 100644 --- a/packages/network/samba/system.d.opt/nmbd.service +++ b/packages/network/samba/system.d.opt/nmbd.service @@ -12,6 +12,7 @@ PIDFile=/var/run/nmbd-smb.conf.pid ExecStart=/usr/bin/nmbd --configfile=/run/samba/smb.conf ExecReload=/bin/kill -HUP $MAINPID TimeoutStopSec=1s +StartLimitInterval=0 [Install] WantedBy=multi-user.target diff --git a/packages/network/samba/system.d.opt/smbd.service b/packages/network/samba/system.d.opt/smbd.service index 6d8185ea10..8e3dda7456 100644 --- a/packages/network/samba/system.d.opt/smbd.service +++ b/packages/network/samba/system.d.opt/smbd.service @@ -13,6 +13,7 @@ LimitNOFILE=16384 ExecStart=/usr/bin/smbd --configfile=/run/samba/smb.conf ExecReload=/bin/kill -HUP $MAINPID TimeoutStopSec=1s +StartLimitInterval=0 [Install] WantedBy=multi-user.target