Skip to content

Instantly share code, notes, and snippets.

View naveda89's full-sized avatar
😄

Alvaro Naveda naveda89

😄
View GitHub Profile

create SSL certificates for thin / heroku-forward

# create an SSL folder for your environment.
mkdir -p ~/.ssl/development/
cd ~/.ssl/development/

# create private key / certificate for your app 
# /!\ remember to define the expected common name for you development hostname [if your using localhost, use localhost. If you are using a custom domain, use it]
openssl genrsa -out my_app_key.pem 1024 
#! /bin/sh
### BEGIN INIT INFO
# Provides: resque-web
# Required-Start: $syslog
# Required-Stop: $syslog
# Should-Start: $local_fs
# Should-Stop: $local_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: web interface for resque processing