This file contains hidden or 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
#!/usr/bin/env bash | |
sudo \curl -sSL https://get.rvm.io | bash | |
bash -l | |
rvm install ruby-2.2.2 | |
# rvm --default use rbx-head | |
gem install chef --no-ri --no-rdoc | |
sudo apt-get install git -y | |
sudo mkdir /var/chef | |
sudo chown dimon /var/chef |
This file contains hidden or 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 | |
SCRIPT='cd /web/vcms/; bundle exec sidekiq' | |
RUNAS=dimon | |
NAME=vcms-sidekiq | |
PIDFILE=/web/vcms/tmp/pids/sidekiq.pid | |
LOGFILE=/web/vcms/log/sidekiq.log | |
start() { |