2017-12-05 00:06:25 +01: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 13:54:51 +01:00
|
|
|
service php7.2-fpm restart
|
2017-12-05 00:06:25 +01:00
|
|
|
service nginx restart
|
2020-09-06 13:54:51 +01:00
|
|
|
service mysql restart
|