Skip to content

Instantly share code, notes, and snippets.

@marcandreappel
Last active May 4, 2023 10:58
Show Gist options
  • Save marcandreappel/a51f5fcdbe437d9cad0e4fee05e798d0 to your computer and use it in GitHub Desktop.
Save marcandreappel/a51f5fcdbe437d9cad0e4fee05e798d0 to your computer and use it in GitHub Desktop.
Devilbox start & restart script
#!/usr/bin/env sh
# See here first: https://github.com/marcandreappel/xdebug-devilbox-phpstorm-postman
cd /home/$USER/.devilbox/
docker-compose stop
docker-compose rm -f
docker-compose pull
sudo systemctl stop systemd-resolved.service
docker-compose up -d mysql httpd php
sudo systemctl start systemd-resolved.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment