diff options
author | Helmut Schaa <hs@ocedo.com> | 2014-09-16 11:33:19 +0200 |
---|---|---|
committer | Alexandru Ardelean <aa@ocedo.com> | 2014-09-22 18:10:48 +0300 |
commit | 03515b807dd2c268eda5feef673da383892e9805 (patch) | |
tree | 44a61eaa3d3ff17274860a53a2e6c1305bec15d4 /net | |
parent | 742cea53d9c90edc8d253aee9d93d3b9b8b0095d (diff) |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/openvswitch/files/etc/init.d/openvswitch.init | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/openvswitch/files/etc/init.d/openvswitch.init b/net/openvswitch/files/etc/init.d/openvswitch.init index 6b5f45821..ffe879a05 100644 --- a/net/openvswitch/files/etc/init.d/openvswitch.init +++ b/net/openvswitch/files/etc/init.d/openvswitch.init @@ -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 } |