Skip to content

Instantly share code, notes, and snippets.

@pqr
Last active September 15, 2017 09:45
Show Gist options
  • Select an option

  • Save pqr/fae699f56677755a8fd96f29b2a062b4 to your computer and use it in GitHub Desktop.

Select an option

Save pqr/fae699f56677755a8fd96f29b2a062b4 to your computer and use it in GitHub Desktop.

Revisions

  1. pqr revised this gist Sep 15, 2017. 1 changed file with 2 additions and 3 deletions.
    5 changes: 2 additions & 3 deletions startup.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,3 @@
    su appuser
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/install_ruby.sh | bash
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/install_ruby.sh | sudo -u appuser -i bash
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/install_mongodb.sh | bash
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/deploy.sh | bash
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/deploy.sh | sudo -u appuser -i bash
  2. pqr revised this gist Sep 15, 2017. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions startup.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/install_ruby.sh | bash --login appuser
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/install_mongodb.sh | bash --login appuser
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/deploy.sh | bash --login appuser
    su appuser
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/install_ruby.sh | bash
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/install_mongodb.sh | bash
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/deploy.sh | bash
  3. pqr revised this gist Sep 15, 2017. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions startup.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/install_ruby.sh | bash
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/install_mongodb.sh | bash
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/deploy.sh | bash
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/install_ruby.sh | bash --login appuser
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/install_mongodb.sh | bash --login appuser
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/deploy.sh | bash --login appuser
  4. pqr created this gist Sep 15, 2017.
    3 changes: 3 additions & 0 deletions startup.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/install_ruby.sh | bash
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/install_mongodb.sh | bash
    wget -O - https://raw.githubusercontent.com/pqr/infra/config-scripts/deploy.sh | bash