Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

How do you set Lita to start on boot? #47

Closed
alixodendhal opened this issue Apr 14, 2014 · 2 comments
Closed

How do you set Lita to start on boot? #47

alixodendhal opened this issue Apr 14, 2014 · 2 comments

Comments

@alixodendhal
Copy link

I'm trying to set Lita to launch on boot (server) in crontab but it is not working. What am I doing wrong?

@reboot cd /lita ; /usr/bin/screen -dmS lita /usr/local/rvm/gems/ruby-2.1.0/bin/lita

i assume cron does not have the right ENV but I used absolute paths

@jimmycuadra
Copy link
Collaborator

Cron is probably not the right tool to use for this. I'd recommend a process management system, which may very depending on what OS you're using. Some good choices are Upstart (for Ubuntu, though technically cross-platform), Launchd (for OS X), Monit, Supervisord, or Runit (all cross-platform).

@nogweii
Copy link

nogweii commented Apr 18, 2014

https://github.com/jordansissel/pleaserun is an excellent abstraction between a lot of those different init daemons.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants