Skip to content

Instantly share code, notes, and snippets.

@jimjh
Last active December 17, 2015 17:29
Show Gist options
  • Save jimjh/5646473 to your computer and use it in GitHub Desktop.
Save jimjh/5646473 to your computer and use it in GitHub Desktop.
Upstart configuration file
description "Integrated Protection Against Defacement System"
respawn
start on runlevel [2345]
stop on runlevel [!12345]
script
AWS_CONFIG_FILE=/etc/aws \
RBENV_ROOT=/usr/local/rbenv \
RBENV_VERSION=1.9.3-p392 \
PATH=/usr/local/rbenv/bin:$PATH \
rbenv exec ruby /usr/local/bin/ipads.rb >> /tmp/ipads.log
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment