aredn/files/etc/init.d/manager

16 lines
414 B
Plaintext
Raw Normal View History

#!/bin/sh /etc/rc.common
USE_PROCD=1
START=90
start_service() {
procd_open_instance manager
procd_set_param command /usr/local/bin/manager.lua
procd_set_param respawn ${respawn_threshold:-3600} ${respawn_timeout:-5} ${respawn_retry:-5}
procd_set_param stdout 1
procd_set_param stderr 1
procd_set_param pidfile /var/run/manager.pid
procd_set_param user root
procd_close_instance
}