Skip to content

Instantly share code, notes, and snippets.



Last active Oct 21, 2019
What would you like to do?
Devilbox start & restart script
#!/usr/bin/env sh
# See here first:
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