Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit 5c6b38f

Browse files
committed
Added restart web server command.
1 parent 98fa6b4 commit 5c6b38f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Restart the Web Server.
4+
#
5+
# Useful if a long running process or an infinite loop
6+
#
7+
8+
echo_if_not_quiet "$*", "^Restarting Web Server..."
9+
10+
sudo service nginx restart
11+
sudo service php5.6-fpm restart
12+
sudo service php7.0-fpm restart

0 commit comments

Comments
 (0)