We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
本来想直接简单粗暴加个procd_set_param开PR的,但是发觉init还需要处理所用user未创建、配置文件目录权限等情况,另外luci-app-qbittorrent也可以像luci-app-aria2一样添加选框下拉列表来选择所使用的用户,这两项调整超出能力范围,只好来开个issue看看社群有没有人可以添加这些以完备此package。
procd_set_param
上述功能主线packages和luci仓库的transmission和aria2基本都有提供,感觉可以照猫画虎快速糊出来 https://github.com/openwrt/packages/blob/master/net/transmission/files/transmission.init https://github.com/openwrt/packages/blob/master/net/aria2/files/aria2.init
procd_set_param user "$user" procd_set_param group "$group" procd_set_param nice "$nice"
The text was updated successfully, but these errors were encountered:
配置文件目录权限等情况
这个东西很麻烦实话说,用 chown -R 和 chmod -R 对我而言多少有点难以接受。
Sorry, something went wrong.
No branches or pull requests
本来想直接简单粗暴加个
procd_set_param
开PR的,但是发觉init还需要处理所用user未创建、配置文件目录权限等情况,另外luci-app-qbittorrent也可以像luci-app-aria2一样添加选框下拉列表来选择所使用的用户,这两项调整超出能力范围,只好来开个issue看看社群有没有人可以添加这些以完备此package。上述功能主线packages和luci仓库的transmission和aria2基本都有提供,感觉可以照猫画虎快速糊出来
https://github.com/openwrt/packages/blob/master/net/transmission/files/transmission.init
https://github.com/openwrt/packages/blob/master/net/aria2/files/aria2.init
The text was updated successfully, but these errors were encountered: