Script to restart an container from an existing image

This commit is contained in:
Marc Ducobu
2021-05-19 17:21:22 +02:00
parent 4f8dc08c6e
commit 09789cecbf
3 changed files with 13 additions and 2 deletions

5
restart.sh Normal file
View File

@@ -0,0 +1,5 @@
sudo service supervisor start && sudo supervisorctl stop all
sudo apache2ctl restart
sudo service postgresql start
sudo supervisorctl reread
sudo supervisorctl reload