Created
June 20, 2018 19:30
-
-
Save dblock/9aeedf358c3bbd1c304fdd86fedda829 to your computer and use it in GitHub Desktop.
Restart all the bots.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for D in `find . -type d -name "*bot"` | |
do | |
NAME=`basename $D` | |
echo Restarting $NAME ... | |
dokku ps:restart $NAME | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment