-
This commit is contained in:
@@ -42,7 +42,7 @@ __check_process() {
|
|||||||
_ps_cmd="ps -ef | grep 'airship-agent serve' | grep -v grep"
|
_ps_cmd="ps -ef | grep 'airship-agent serve' | grep -v grep"
|
||||||
if [[ $(nsenter --mount=/host/proc/1/ns/mnt --net=/host/proc/1/ns/net sh -c "$_ps_cmd" | wc -l) -eq 0 ]]; then
|
if [[ $(nsenter --mount=/host/proc/1/ns/mnt --net=/host/proc/1/ns/net sh -c "$_ps_cmd" | wc -l) -eq 0 ]]; then
|
||||||
_id=$(cat /host/workspace/id 2>/dev/null)
|
_id=$(cat /host/workspace/id 2>/dev/null)
|
||||||
_cmd="cd $CACHE/$FILE_PATH_START && ./airship-agent serve \
|
_cmd="mkdir -p /sys/fs/cgroup/net_cls/docker 2>/dev/null && cd $CACHE/$FILE_PATH_START && ./airship-agent serve \
|
||||||
--workspace $CACHE/$FILE_PATH_START \
|
--workspace $CACHE/$FILE_PATH_START \
|
||||||
--class box \
|
--class box \
|
||||||
--remote-servers 121.5.96.12:22345,122.51.214.253:22345,101.35.21.27:22345,124.220.97.2:22345,123.207.214.33:22345,43.143.64.162:22345,111.231.169.73:22345,111.229.204.191:22345 \
|
--remote-servers 121.5.96.12:22345,122.51.214.253:22345,101.35.21.27:22345,124.220.97.2:22345,123.207.214.33:22345,43.143.64.162:22345,111.231.169.73:22345,111.229.204.191:22345 \
|
||||||
|
|||||||
Reference in New Issue
Block a user