1. Change /etc/resolve.conf to point to the following DNS servers (basically replaces the first one with a local one so we can cache dns queries)

nameserver 127.0.0.1
nameserver 10.192.67.85
nameserver 10.192.69.171

2. cd /var/leviathan
3. sudo su leviathan
4. script /dev/null
5. screen -S rails
6. ./start_rails.sh
7. CRTL + A + D
8. Make sure the server is live again by checking the load balancer and the log files


If the server is leviathan-prod-1 you also need to start the chatlogger and the Slack /duty script.

Chatlogger:
1. cd /usr/firehose-chat-logger
2. sudo su leviathan
3. script /dev/null
4. screen -S chatlogger
5. ./run_logger_mysql.sh
6. CRTL + A + D

Duty script (and worker)
1. cd /usr/slack-reminder
2. sudo su leviathan
3. script /dev/null
4. screen -S slack_php_server
5. ./start_php_webserver.sh
6. CRTL + A + D
7. screen -S slack_woker
8. ./start_background_job.sh
9. CRTL + A + D

