mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
miredo: Initial version 1.2.6
Teredo IPv6 tunneling utility Signed-off-by: Nikita Vostokov <yawosk@yandex.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
USE_PROCD=1
|
||||
START=20
|
||||
|
||||
PROG=/usr/sbin/miredo
|
||||
CONFFILE=/etc/miredo/miredo.conf
|
||||
|
||||
start_service() {
|
||||
procd_open_instance
|
||||
procd_set_param command $PROG -f -c $CONFFILE
|
||||
procd_set_param respawn
|
||||
procd_set_param file $CONFFILE
|
||||
procd_set_param stdout 1 # forward stdout of the command to logd
|
||||
procd_set_param stderr 1 # same for stderr
|
||||
procd_close_instance
|
||||
}
|
||||
Reference in New Issue
Block a user