Sha256: 5ca646e16fa4ebc31a3d26009dcaa2e6c2329ca412a2046e559ae7b688686fb7
Contents?: true
Size: 395 Bytes
Versions: 3
Compression:
Stored size: 395 Bytes
Contents
#!/bin/bash name=$1 prod_path="/var/www/rails_apps/prod/" dev_path="/var/www/rails_apps/dev/" svn_path=/var/svn/$name/ path="$dev_path$name" if [ -z $name ] ; then echo "usage: $0 appname" exit 1; fi rm -rf $prod_path$name rm -rf $dev_path$name rm -rf $svn_path rm -f /etc/apache2/sites-enabled/prod.$name.conf rm -f /etc/apache2/sites-enabled/dev.$name.conf sudo service apache2 reload
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
citrin-0.0.10 | commands/remove_railsapp |
citrin-0.0.9 | commands/remove_railsapp |
citrin-0.0.8 | commands/remove_railsapp |