feat: add dep.proxy
This commit is contained in:
@@ -28,9 +28,7 @@ ExecStartPre=-/usr/local/bin/k0s ctr -n hs-net container rm hs-net
|
||||
ExecStart=/usr/local/bin/k0s ctr -n hs-net run \
|
||||
--net-host \
|
||||
--privileged \
|
||||
--cgroup host \
|
||||
--env LD_LIBRARY_PATH=/yizhisec/hs_net \
|
||||
--env RUSTFLAGS="-C target-cpu=nehalem" \
|
||||
--env RUST_BACKTRACE=1 \
|
||||
--mount type=bind,src=/etc/localtime,dst=/etc/localtime,options=rbind:ro \
|
||||
--mount type=bind,src=/etc/hosts,dst=/etc/hosts,options=rbind:ro \
|
||||
@@ -43,6 +41,8 @@ ExecStart=/usr/local/bin/k0s ctr -n hs-net run \
|
||||
--mount type=bind,src=/yizhisec/hs_net/conf,dst=/etc/hs_net,options=rbind:rw \
|
||||
hub.yizhisec.com/hybridscope/hsnet:release_2.1.0-std hs-net
|
||||
|
||||
# --cgroup host \
|
||||
# --env RUSTFLAGS="-C target-cpu=nehalem" \
|
||||
# 重启策略
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
|
||||
Reference in New Issue
Block a user