2017-12-05 07:06:25 +08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
#== Bash helpers ==
|
|
|
|
|
|
|
|
function info {
|
|
|
|
echo " "
|
|
|
|
echo "--> $1"
|
|
|
|
echo " "
|
|
|
|
}
|
|
|
|
|
|
|
|
#== Provision script ==
|
|
|
|
|
|
|
|
info "Provision-script user: `whoami`"
|
|
|
|
|
|
|
|
info "Restart web-stack"
|
2020-09-06 20:54:51 +08:00
|
|
|
service php7.2-fpm restart
|
2017-12-05 07:06:25 +08:00
|
|
|
service nginx restart
|
2020-09-06 20:54:51 +08:00
|
|
|
service mysql restart
|