This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-tsg-container/restart_vpp_sapp_tfe.sh
2021-03-25 11:09:02 +08:00

20 lines
241 B
Bash
Executable File

#!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 -