[fix] so-functions and so-restart

This commit is contained in:
William Wernert
2020-02-12 09:26:34 -05:00
parent fe2de8c9e4
commit e656e5af45
2 changed files with 1 additions and 9 deletions

View File

@@ -32,6 +32,6 @@ fi
case $1 in
"cortex") docker stop so-thehive-cortex so-thehive && docker rm so-thehive-cortex so-thehive && salt-call state.apply hive queue=True;;
"steno") docker stop so-steno && docker rm so-steno && salt-call state.apply pcap queue=True;;
"auth") docker stop so-auth-api; docker stop so-auth-ui; salt-cal state.apply auth queue=True;;
"auth") docker stop so-auth-api; docker stop so-auth-ui; salt-call state.apply auth queue=True;;
*) docker stop so-$1 ; docker rm so-$1 ; salt-call state.apply $1 queue=True;;
esac