Browse Source

openvswitch: Run with nice -10 (#1765)

This is default if ovs is started through ovs-ctl but we start it directly, hence
tell procd to use nice -10 for ovs.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
lilik-openwrt-22.03
Helmut Schaa 10 years ago
committed by Alexandru Ardelean
parent
commit
03515b807d
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      net/openvswitch/files/etc/init.d/openvswitch.init

+ 4
- 0
net/openvswitch/files/etc/init.d/openvswitch.init View File

@ -21,6 +21,8 @@ start_service() {
procd_append_param respawn 3600
procd_append_param respawn 5
procd_append_param respawn -1
procd_set_param nice
procd_append_param nice -10
procd_close_instance
# ovs-vswitchd
@ -31,6 +33,8 @@ start_service() {
procd_append_param respawn 3600
procd_append_param respawn 5
procd_append_param respawn -1
procd_set_param nice
procd_append_param nice -10
procd_close_instance
}


Loading…
Cancel
Save