让 thin 服务在每次重启时启动
访问量: 2460
使用crontab 来做这个事。
@reboot cd /opt/app/your_app/current && bundle exec thin start -C config/thin.yml
但是要记得测试, 某些cron 的实现是不支持这个的。
访问量: 2460
使用crontab 来做这个事。
@reboot cd /opt/app/your_app/current && bundle exec thin start -C config/thin.yml
但是要记得测试, 某些cron 的实现是不支持这个的。