| start on startup | |
| stop on shutdown | |
| script | |
| # We found $HOME is needed. Without it, we ran into problems | |
| export HOME="/home/foo" | |
| cd $HOME/foo-api/current | |
| exec sudo -u foo sh -c "/usr/local/bin/bundle exec /usr/local/bin/ruby token_service.rb" | |
| end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment