summaryrefslogtreecommitdiff
path: root/restart_vpp_sapp_tfe.sh
blob: 88963501cc31bcf2962afb78980c6301b4c3cf01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 -