Browse Source

Merge pull request #12543 from mydzor/master

transmission: add access to web interface files to procd jail
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
d498a74910
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      net/transmission/Makefile
  2. +1
    -0
      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:=3.00
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GITHUB/transmission/transmission-releases/master


+ 1
- 0
net/transmission/files/transmission.init View File

@ -160,6 +160,7 @@ transmission() {
procd_add_jail_mount_rw "$config_dir/blocklists"
procd_add_jail_mount_rw "$config_dir/stats.json"
procd_add_jail_mount_rw "$download_dir"
[ -d "$web_home" ] && procd_add_jail_mount_rw "$web_home"
procd_close_instance
}


Loading…
Cancel
Save