Created
May 4, 2015 16:04
-
-
Save pierew/e5a1c4f6ba9db0f6f806 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -z "$1" ]; then | |
echo "No Domain specified" | |
echo "Usage: uber-add-domain <domain.tld>" | |
else | |
uberspace-add-domain -w -d $1 | |
echo "CREATE Webserver Folder @ /var/www/virtual/$USER/$1" | |
mkdir /var/www/virtual/$USER/$1 | |
echo "[OK]" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment