Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RUBY/LINUX HELP NEEDED:
- so here's the task at hand:
- ========
- i have
- a) an nginx server
- b) on there: a special version of jekyll
- c) a dropbox synced folder with markdown files
- i need
- a) jekyll ran as an upstart service or similar that keeps it up
- b) possibility to read the log/stdout from jekyll from a ruby app, since i need to be able to send feedback errors to a user interface..
- the problem:
- • The server is running ubuntu 11.04 and upstart 0.97 (i think)
- • Upstart is not upgradable through apt-get to a newer version that allows non-root users to start services,
- i would rather not upgrade upstart manually
- • Ruby and the gems are installed to a non-root user through rvm
- • I can't reach the gems and execute them from the upstart service, they are not even visible with sudo -u rubyuser
- Any tips or ideas on how to run jekyll as a stable, re-spawning service under these conditions?
Add Comment
Please, Sign In to add comment