how, RENICE adjusts the priority of the child process.
I want to adjust the process priority of PASSWALL. REINCE -n -19 -n PID can only be adjusted one by one. How can I adjust the priority of the child process together? Thanks for the help.
The query -G parameter can be adjusted by the program group, but viewing the process GROUP shows a null value.
if static, set nice in the init.d script during the xray start ?
I checked the description of INIT.D, but I still don’t understand it. There are no relevant instructions.3Q
correct, you'll need to figure it out yourself.
there's however Start a service by 'nice'. How to?
Thank you. Some processes are activated, but some scripts are opened like this. How can I modify it? There is no procd_set_param command.
#!/bin/sh /etc/rc.common
START=97
STOP=01
PROG=/usr/bin/internet-detector
config_app() {
config_get enabled "$1" enabled "0"
if [ $enabled = "1" ]; then
$PROG service "$1"
fi
}
start() {
config_load internet-detector
config_get mode "config" mode "0"
if [ $mode = "1" ]; then
config_foreach config_app "instance"
fi
}
stop() {
$PROG stop
}
Try PROG=nice /usr/bin/internet-detector