Skip to content

Instantly share code, notes, and snippets.

@marcandreappel

marcandreappel/dbox.sh

Last active Oct 21, 2019
Embed
What would you like to do?
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