forked from Spark/ssm-services
It's the admin port. Let's call it properly
This commit is contained in:
parent
f5416ac738
commit
64a5f40850
|
@ -6,7 +6,7 @@ service_command='/usr/bin/cjdroute'
|
|||
|
||||
cjdroute_config='/etc/cjdroute.conf'
|
||||
|
||||
cjdroute_listen_port='11234'
|
||||
cjdroute_admin_port='11234'
|
||||
|
||||
cjdroute.check_tun_module() {
|
||||
[[ -e '/dev/net/tun' ]] || {
|
||||
|
@ -18,7 +18,7 @@ cjdroute.check_tun_module() {
|
|||
}
|
||||
|
||||
get_pid() {
|
||||
lsof -i :"$cjdroute_listen_port" | tail -1 | cut -d ' ' -f 2
|
||||
lsof -i :"$cjdroute_admin_port" | tail -1 | cut -d ' ' -f 2
|
||||
}
|
||||
|
||||
start() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user