This commit is contained in:
William Mantly
2016-06-16 22:51:16 -04:00
parent 307856f969
commit ad1c8e7205
4 changed files with 44 additions and 17 deletions

10
delete.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
name="$1"
sshURL="$2"
rm -rf /var/www/gitwrapper/$name
rm /etc/apache2/sites-enabled/$name.conf
service apache2 reload
exit 0