From 9e28a21d73dfff150af76334acfa3a4bef6975cd Mon Sep 17 00:00:00 2001 From: Jakob Olsson Date: Mon, 1 Oct 2018 11:26:23 +0200 Subject: [PATCH] provide root flag --- topologyd/files/etc/init.d/topologyd | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/topologyd/files/etc/init.d/topologyd b/topologyd/files/etc/init.d/topologyd index ee2e78aa4..a27d29b4b 100755 --- a/topologyd/files/etc/init.d/topologyd +++ b/topologyd/files/etc/init.d/topologyd @@ -8,13 +8,8 @@ USE_PROCD=1 start_service() { procd_open_instance config_load topologyd - config_get debug topologyd debug 0 procd_set_param command "/sbin/topologyd" - - if [ "$debug" -gt 0 ] - then - procd_append_param command --debug "$debug" - fi + procd_append_param command --root procd_set_param respawn procd_set_param stdout 1 procd_set_param stderr 1