Im trying to get a RVM gem to run via upstart... I can't seem to get it to work:
siriserver.conf
#siriserver
start on filesystem or runlevel [2345]
stop on runlevel [!2345]
respawn
exec start-stop-daemon --start --exect /root/.siriproxy/siri.sh
Then my /siri.sh file is chmod ax and contains the following:
#!/bin/bash
[[ -s "home/xbmc/.rvm/scripts/rvm" ]] && . "/home/xbmc/.vrm/scripts/rvm"
siriproxy server -d 192.168.1.100 -u xbmc
My upstart log shows the following error: /usr/local/rvm/gems/ruby-2.0.0-p247/gems/siriproxy-.0.5.4/lib/siriproxy 'expand_path': non-absolute home
Thoughts?