mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
ola: improve init script
Drop now unneeded dependency on sudo. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user