ola: improve init script

Drop now unneeded dependency on sudo.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle
2017-12-22 23:59:55 +01:00
parent b49773a4f9
commit 499536b1ac
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ START=90
start_service() {
procd_open_instance
procd_set_param command sudo -u nobody /usr/bin/olad --syslog --log-level 2 --config-dir /etc/ola
procd_set_param user nobody
procd_set_param command /usr/bin/olad --syslog --log-level 2 --config-dir /etc/ola
procd_set_param respawn
procd_close_instance
}