provide root flag

This commit is contained in:
Jakob Olsson 2018-10-01 11:26:23 +02:00
parent 596c769a32
commit 9e28a21d73

View file

@ -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