Merge pull request #10094 from ysc3839/transmission

transmission: fix command param issue and use default respawn settings
This commit is contained in:
Rosen Penev 2019-09-27 09:48:09 -07:00 committed by GitHub
commit 2312424bba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

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

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"