发布时间: 2015-08-06 03:50:00
使用crontab 来做这个事。
@reboot cd /opt/app/your_app/current && bundle exec thin start -C config/thin.yml
但是要记得测试, 某些cron 的实现是不支持这个的。