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>
This commit is contained in:
parent
742cea53d9
commit
03515b807d
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue