Home Linux Rails Restart_very_quickly的例子
Post
Cancel

Linux Rails Restart_very_quickly的例子

还是记录一下吧,实在太好用了

例如某个  rails 应用 path 中包含 admin , 跑在9701端口:

kill -9 `ps -ef | grep admin | grep 9701 | awk {'print $2'}`
setsid nohup bundle exec puma -C config/puma.rb &
This post is licensed under CC BY 4.0 by the author.