@reboot cron integration?

17 views
Skip to first unread message

Simon Males

unread,
Apr 6, 2015, 6:27:44 PM4/6/15
to capis...@googlegroups.com
Hello,

Is it possible to extract the commands to start services? e.g. I depend on Sidekiq and Puma running.

If the server is rebooted, I hope to have Sidekiq and Puma started on boot.

The Whenever gem has a nice integration with Capistrano (3.4.0) where it writes a new crontab on deploy. I foresee it being possible to write an additional @reboot rule.

Lee Hambley

unread,
Apr 6, 2015, 6:29:10 PM4/6/15
to Capistrano
Sounds like something better solved with Systemd or init.d, at a stretch with Monit or God (bluepill, etc). Drop the plugins you are using for Capistrano and/or sidekiq and manage them as proper system level services, if they need to be up all the time, configure them there rather than kicking them off with Capistrano and hoping for the best!

--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/94a4c45b-c7fe-4954-aa1c-195d95a36d09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages