Browse Source

transmission: fix command param issue and use default respawn settings

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
lilik-openwrt-22.03
Richard Yu 5 years ago
parent
commit
144e7df270
No known key found for this signature in database GPG Key ID: D16286AFD4E1FFF3
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      net/transmission/Makefile
  2. +2
    -2
      net/transmission/files/transmission.init

+ 1
- 1
net/transmission/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=transmission
PKG_VERSION:=2.94
PKG_RELEASE:=6
PKG_RELEASE:=7
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GITHUB/transmission/transmission-releases/master


+ 2
- 2
net/transmission/files/transmission.init View File

@ -114,12 +114,12 @@ transmission() {
procd_open_instance
procd_set_param command "/usr/bin/transmission-daemon"
procd_append_param command "-f --log-error -g $config_dir"
procd_append_param command -f --log-error -g "$config_dir"
procd_set_param user "$user"
procd_set_param group "$group"
procd_set_param nice "$nice"
procd_set_param stderr 1
procd_set_param respawn retry=60
procd_set_param respawn
if [ -z "$USE" ]; then
procd_set_param limits core="0 0"


Loading…
Cancel
Save