Browse Source

Merge pull request #5876 from fantom-x/nlbwmon_nice

net/nlbwmon: run with lower priority
lilik-openwrt-22.03
Kevin D-B 6 years ago
committed by GitHub
parent
commit
d7f02096b7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      net/nlbwmon/files/nlbwmon.init

+ 2
- 0
net/nlbwmon/files/nlbwmon.init View File

@ -5,6 +5,7 @@ START=60
USE_PROCD=1
NAME=nlbwmon
PROG=/usr/sbin/nlbwmon
NICEPRIO=19
add_subnet() {
local network="$1"
@ -80,6 +81,7 @@ start_service() {
procd_open_instance
procd_set_param stderr 1
procd_set_param command "$PROG"
procd_set_param nice "$NICEPRIO"
config_load nlbwmon
config_foreach parse_config nlbwmon


Loading…
Cancel
Save