canyin-project/ybcy/vagrant/provision/always-as-root.sh
2024-11-01 16:07:54 +08:00

18 lines
259 B
Bash

#!/usr/bin/env bash
#== Bash helpers ==
function info {
echo " "
echo "--> $1"
echo " "
}
#== Provision script ==
info "Provision-script user: `whoami`"
info "Restart web-stack"
service php7.0-fpm restart
service nginx restart
service mysql restart