问题描述
linux下如何将mongrel设置为服务?貌似mongrel_service只有windows版本的,谢谢
解决方案
gem install mongrel_cluster,在 mongrel_cluster 的 README 最后有说明。== Starting clusters at boot1. Create mongrel_cluster conf directory (/etc/mongrel_cluster).2. Assign ownership to your Capistrano user.3. Copy the init.d script from this gem's resouces directory /etc/init.d.4. chmod +x /etc/init.d/mongrel_cluster5. Add to init.d startup. On RHEL/CentOS use: /sbin/chkconfig --level 345 mongrel_cluster on
时间: 2024-09-26 03:11:16