{"action":"created","issue":{"url":"https://api.github.com/repos/meolu/walle-web/issues/161","repository_url":"https://api.github.com/repos/meolu/walle-web","labels_url":"https://api.github.com/repos/meolu/walle-web/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/meolu/walle-web/issues/161/comments","events_url":"https://api.github.com/repos/meolu/walle-web/issues/161/events","html_url":"https://github.com/meolu/walle-web/issues/161","id":147962484,"number":161,"title":"高级任务的疑问","user":{"login":"tedlz","id":8642227,"avatar_url":"https://avatars.githubusercontent.com/u/8642227?v=3","gravatar_id":"","url":"https://api.github.com/users/tedlz","html_url":"https://github.com/tedlz","followers_url":"https://api.github.com/users/tedlz/followers","following_url":"https://api.github.com/users/tedlz/following{/other_user}","gists_url":"https://api.github.com/users/tedlz/gists{/gist_id}","starred_url":"https://api.github.com/users/tedlz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tedlz/subscriptions","organizations_url":"https://api.github.com/users/tedlz/orgs","repos_url":"https://api.github.com/users/tedlz/repos","events_url":"https://api.github.com/users/tedlz/events{/privacy}","received_events_url":"https://api.github.com/users/tedlz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-04-13T06:45:03Z","updated_at":"2016-04-16T09:19:45Z","closed_at":null,"body":"首先log没报错，宿主机和目标机是同一个，配置里面目标机器用户是root\r\n问题1：\r\npre_releases：\r\nservice nginx stop\r\nservice php-fpm stop\r\n\r\npost_releases：\r\nservice nginx start\r\nservice php-fpm start\r\n\r\n如果这么设置的话，进度条走到代码检出的时候就把php-fpm 和nginx停止了\r\n然后就走不下去了，服务器上看也没启动\r\n\r\n问题2：\r\n如果只在\r\npost_releases：\r\nservice nginx restart\r\nservice php-fpm restart\r\n\r\n可以走到最后一步，然后也走不下去\r\nphp-fpm用pgrep看PID是改变的，应该是重新启动了？nginx没有变"},"comment":{"url":"https://api.github.com/repos/meolu/walle-web/issues/comments/210780162","html_url":"https://github.com/meolu/walle-web/issues/161#issuecomment-210780162","issue_url":"https://api.github.com/repos/meolu/walle-web/issues/161","id":210780162,"user":{"login":"tedlz","id":8642227,"avatar_url":"https://avatars.githubusercontent.com/u/8642227?v=3","gravatar_id":"","url":"https://api.github.com/users/tedlz","html_url":"https://github.com/tedlz","followers_url":"https://api.github.com/users/tedlz/followers","following_url":"https://api.github.com/users/tedlz/following{/other_user}","gists_url":"https://api.github.com/users/tedlz/gists{/gist_id}","starred_url":"https://api.github.com/users/tedlz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tedlz/subscriptions","organizations_url":"https://api.github.com/users/tedlz/orgs","repos_url":"https://api.github.com/users/tedlz/repos","events_url":"https://api.github.com/users/tedlz/events{/privacy}","received_events_url":"https://api.github.com/users/tedlz/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T09:19:45Z","updated_at":"2016-04-16T09:19:45Z","body":"也试了\r\nsudo -i service php-fpm restart\r\nsudo -i service nginx restart\r\n仍旧到卡最后一步"}}