gluon/package/gluon-radvd/files/etc/init.d/gluon-radvd
2017-02-11 22:40:51 +01:00

15 lines
351 B
Bash
Executable File

#!/bin/sh /etc/rc.common
USE_PROCD=1
START=50
start_service() {
[ -x /lib/gluon/radvd/arguments ] || return 1
procd_open_instance
procd_set_param command /usr/sbin/uradvd $(/lib/gluon/radvd/arguments)
procd_set_param respawn ${respawn_threshold:-3600} ${respawn_timeout:-5} ${respawn_retry:-5}
procd_set_param stderr 1
procd_close_instance
}