Logo white

Alexey Boroda / extrem-new

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • extrem-new
  • vagrant
  • provision
  • always-as-root.sh
  • first commit
    4ca21c3e
    Alexey Boroda authored
    2016-09-23 16:21:45 +0300  
    Browse Code ยป
always-as-root.sh 257 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/usr/bin/env bash

#== Bash helpers ==

function info {
  echo " "
  echo "--> $1"
  echo " "
}

#== Provision script ==

info "Provision-script user: `whoami`"

info "Restart web-stack"
service php5-fpm restart
service nginx restart
service mysql restart