服务器上操作 Posted on 2018-11-15 15:41 重启servicestaging: sudo service nginx restartproduction:先找到nginx 主进程ps -ef | grep nginxkill -HUP (root 对应的进程号) 修改application.ymlcd ResumeHack/shared直接修改application.yml ps:重启rails server 就是重启service就行