mirror of https://github.com/XTLS/Xray-install
Use tab
parent
53829b0663
commit
34d38c70e7
14
init.d/xray
14
init.d/xray
|
@ -20,17 +20,17 @@ command_args="run -confdir $confdir"
|
|||
required_files="$confdir"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
want dns ntp-client
|
||||
after firewall
|
||||
need net
|
||||
want dns ntp-client
|
||||
after firewall
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
export $env
|
||||
$command $command_args -test
|
||||
eend $?
|
||||
export $env
|
||||
$command $command_args -test
|
||||
eend $?
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkconfig || return 1
|
||||
checkconfig || return 1
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue