Browse Source

Merge pull request #19350 from stangri/openwrt-22.03-aria2

[22.03] aria2: Fix aria2.init start issue
lilik-openwrt-22.03
Stan Grishin 2 years ago
committed by GitHub
parent
commit
e4f01cad33
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/aria2/Makefile
  2. +1
    -1
      net/aria2/files/aria2.init

+ 1
- 1
net/aria2/Makefile View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=aria2
PKG_VERSION:=1.36.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/aria2/aria2/releases/download/release-$(PKG_VERSION)/


+ 1
- 1
net/aria2/files/aria2.init View File

@ -341,7 +341,7 @@ aria2_start() {
procd_set_param user "$user"
procd_add_jail "$NAME.$section" log
procd_add_jail_mount "$config_file"
procd_add_jail_mount "$ca_certificate" "$certificate" "$rpc_certificate" "$rpc_private_key"
procd_add_jail_mount_rw "$dir" "$config_dir" "$log"
procd_close_instance
}


Loading…
Cancel
Save