revert start_pre hook
This commit is contained in:
@@ -9,9 +9,3 @@ pidfile="/run/${RC_SVCNAME}.pid"
|
|||||||
depend() {
|
depend() {
|
||||||
need net
|
need net
|
||||||
}
|
}
|
||||||
|
|
||||||
start_pre() {
|
|
||||||
while ! ip route | grep -q '^default'; do
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -4,12 +4,6 @@ depend() {
|
|||||||
need docker net
|
need docker net
|
||||||
}
|
}
|
||||||
|
|
||||||
start_pre() {
|
|
||||||
while ! ip route | grep -q '^default'; do
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
command="/usr/bin/tsdns"
|
command="/usr/bin/tsdns"
|
||||||
command_background=true
|
command_background=true
|
||||||
pidfile="/run/${RC_SVCNAME}.pid"
|
pidfile="/run/${RC_SVCNAME}.pid"
|
||||||
|
|||||||
Reference in New Issue
Block a user