Refactor VPN proxy client implementation
This commit is contained in:
+2
-6
@@ -25,7 +25,7 @@ log() {
|
||||
}
|
||||
|
||||
if [[ "$APP_COMPONENT" == "control" ]]; then
|
||||
exec node /app/src/server/index.js
|
||||
exec node /app/dist/server/main.js
|
||||
fi
|
||||
|
||||
ipt() {
|
||||
@@ -189,11 +189,7 @@ if ! setup_device_traffic; then
|
||||
fi
|
||||
setup_proxy_firewall
|
||||
|
||||
if [[ "$APP_COMPONENT" == "dataplane" ]]; then
|
||||
node /app/src/server/dataplane.js &
|
||||
else
|
||||
node /app/src/server/index.js &
|
||||
fi
|
||||
node /app/dist/server/main.js &
|
||||
APP_PID=$!
|
||||
|
||||
shutdown() {
|
||||
|
||||
Reference in New Issue
Block a user