diff options
| author | fumingwei <[email protected]> | 2021-03-25 11:09:02 +0800 |
|---|---|---|
| committer | fumingwei <[email protected]> | 2021-03-25 11:09:02 +0800 |
| commit | f8b6a40925f8184623fcbfc9e0ba0d19d69460a3 (patch) | |
| tree | 12efe870f4f64f8f26dc6e2bc3972c2e591294b0 /restart_vpp_sapp_tfe.sh | |
| parent | 52bde4d275ae77430b6ee72bda689c49bb373ac4 (diff) | |
Diffstat (limited to 'restart_vpp_sapp_tfe.sh')
| -rwxr-xr-x | restart_vpp_sapp_tfe.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/restart_vpp_sapp_tfe.sh b/restart_vpp_sapp_tfe.sh new file mode 100755 index 0000000..8896350 --- /dev/null +++ b/restart_vpp_sapp_tfe.sh @@ -0,0 +1,19 @@ +#!bin/bash + +# work dir +cd /root/tsg_container + +# stop sapp tfe vpp +docker-compose down +systemctl stop vpp + +# start vpp sapp tfe +systemctl start vpp +sleep 5 +docker-compose up >> restart.log & +sleep 3 + +# start tfe env +sh init_tfe_env.sh + +cd - |
