mirror of https://github.com/aredn/aredn.git
16 lines
414 B
Plaintext
16 lines
414 B
Plaintext
|
#!/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
|
||
|
}
|