Skip to content

Commit

Permalink
Rename project to bootup
Browse files Browse the repository at this point in the history
  • Loading branch information
mchung committed Jun 16, 2012
1 parent 959f987 commit 1682c52
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion slicehost/00-core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ echo "Copying authorized_keys"
echo

# TODO Use relative paths instead of absolute. dirname? pwd?
cp ~/bootstrap/config/root_authorized_keys ~/.ssh/authorized_keys
cp ~/bootup/config/root_authorized_keys ~/.ssh/authorized_keys

echo
echo "For security reasons, you must manually set a password for the 'admin' user."
Expand Down
2 changes: 1 addition & 1 deletion slicehost/01-iptables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Update iptables
#

iptables-restore < ~/bootstrap/config/etc/iptables.up.rules
iptables-restore < ~/bootup/config/etc/iptables.up.rules
iptables-save > /etc/iptables.up.rules

perl -pi.bak -e "s/iface lo inet loopback/iface lo inet loopback\npre-up iptables-restore < \/etc\/iptables.up.rules/gi;"
Expand Down
6 changes: 3 additions & 3 deletions slicehost/60-php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ aptitude update -y

aptitude install -y php5-common php5-cgi php5-mysql php5-cli php5-gd

cp ~/bootstrap/config/etc/init.d/php-fastcgi /etc/init.d/php-fastcgi
cp ~/bootup/config/etc/init.d/php-fastcgi /etc/init.d/php-fastcgi
chmod 755 /etc/init.d/php-fastcgi

cp ~/bootstrap/config/etc/default/php-fastcgi /etc/default/php-fastcgi
cp ~/bootup/config/etc/default/php-fastcgi /etc/default/php-fastcgi

cp ~/bootstrap/config/etc/nginx/fastcgi_params /etc/nginx/fastcgi_params
cp ~/bootup/config/etc/nginx/fastcgi_params /etc/nginx/fastcgi_params

/etc/init.d/php-fastcgi start
update-rc.d php-fastcgi defaults
Expand Down
8 changes: 4 additions & 4 deletions slicehost/README
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Run the following commands:
apt-get update -y
apt-get autoremove
apt-get install git-core
git clone git://github.com/openrain/bootstrap.git
cd bootstrap/slicehost/
git clone git://github.com/mchung/bootup.git
cd bootup/slicehost/
sh ./00-core.sh

...
Expand All @@ -14,8 +14,8 @@ or something like this:
apt-get update -y
apt-get autoremove
apt-get install git-core -y
git clone git://github.com/openrain/bootstrap.git
cd bootstrap/slicehost/
git clone git://github.com/mchung/bootup.git
cd bootup/slicehost/
sh ./00-core.sh
sh ./05-ruby.sh
sh ./10-misc.sh
Expand Down
2 changes: 1 addition & 1 deletion slicehost/add_user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi
useradd -m -d /home/$USERNAME -s /bin/bash $USERNAME

mkdir /home/$USERNAME/.ssh
cp ~/bootstrap/config/default_authorized_keys /home/$USERNAME/.ssh/authorized_keys
cp ~/bootup/config/default_authorized_keys /home/$USERNAME/.ssh/authorized_keys
chmod 700 /home/$USERNAME/.ssh/
chmod 600 /home/$USERNAME/.ssh/authorized_keys
chown -R $USERNAME:$USERNAME /home/$USERNAME/.ssh/
2 changes: 1 addition & 1 deletion slicehost/add_vhost.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

opts.parse!

template = ERB.new(File.read("~/bootstrap/config/etc/apache/sites-available/apache-site.conf"))
template = ERB.new(File.read("~/bootup/config/etc/apache/sites-available/apache-site.conf"))

`mkdir -p /var/local/#{DOMAIN[:host]}/shared/log`
`mkdir -p /var/local/#{DOMAIN[:host]}/shared/config`
Expand Down

0 comments on commit 1682c52

Please sign in to comment.