Skip to content

Commit 90cb05d

Browse files
committed
Update install.sh
1 parent 3c5a9b6 commit 90cb05d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

install.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
clear
44
echo ""
5-
echo "================================================================="
6-
echo "| |"
7-
echo "| full-stack-nginx-wordpress-for-everyone-with-docker-compose |"
8-
echo "| by Erdal ALTIN |"
9-
echo "| |"
10-
echo "================================================================="
5+
echo "====================================================================="
6+
echo "| |"
7+
echo "| full-stack-nginx-wordpress-for-everyone-with-docker-compose |"
8+
echo "| by Erdal ALTIN |"
9+
echo "| |"
10+
echo "====================================================================="
1111
sleep 2
1212

1313
# Uninstall old versions
@@ -263,8 +263,8 @@ if [ -x "$(command -v docker)" ] && [ -x "$(command -v docker-compose)" ]; then
263263
if [ ! -z `docker ps -q -f "status=running" --no-trunc | grep $(docker-compose ps -q webserver)` ]; then break; fi
264264
done
265265
echo ""
266-
echo "Reloading Webserver Nginx ssl configuration"
267-
docker exec webserver nginx -s reload > /dev/null 2>&1
266+
echo "Reloading webserver ssl configuration"
267+
docker container restart webserver > /dev/null 2>&1
268268
echo "Ok."
269269
echo ""
270270
echo "completed setup"

0 commit comments

Comments
 (0)