From eebdc62dfd61e6e43d8374ef669428f4432b0c26 Mon Sep 17 00:00:00 2001 From: Dan Baugher Date: Wed, 11 Nov 2015 23:50:17 -0500 Subject: Added upstart job for ubuntu RVM installs --- extra/rvm.oxidized.upstart | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 extra/rvm.oxidized.upstart (limited to 'extra') diff --git a/extra/rvm.oxidized.upstart b/extra/rvm.oxidized.upstart new file mode 100644 index 0000000..23b5d69 --- /dev/null +++ b/extra/rvm.oxidized.upstart @@ -0,0 +1,18 @@ +start on started networking + +respawn + +setuid oxidized +setgid oxidized + +chdir /home/oxidized + +env HOME=/home/oxidized + +pre-start script + test -x /usr/local/rvm/wrappers/ruby-2.1.2/oxidized || { stop; exit 0; } +end script + +script + exec /usr/local/rvm/wrappers/ruby-2.1.2/oxidized +end script \ No newline at end of file -- cgit v1.2.1