{"action":"created","issue":{"url":"https://api.github.com/repos/untitledkingdom/mina-puma/issues/4","repository_url":"https://api.github.com/repos/untitledkingdom/mina-puma","labels_url":"https://api.github.com/repos/untitledkingdom/mina-puma/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/untitledkingdom/mina-puma/issues/4/comments","events_url":"https://api.github.com/repos/untitledkingdom/mina-puma/issues/4/events","html_url":"https://github.com/untitledkingdom/mina-puma/issues/4","id":141577019,"number":4,"title":"puma:restart not working","user":{"login":"lnikell","id":2697570,"avatar_url":"https://avatars.githubusercontent.com/u/2697570?v=3","gravatar_id":"","url":"https://api.github.com/users/lnikell","html_url":"https://github.com/lnikell","followers_url":"https://api.github.com/users/lnikell/followers","following_url":"https://api.github.com/users/lnikell/following{/other_user}","gists_url":"https://api.github.com/users/lnikell/gists{/gist_id}","starred_url":"https://api.github.com/users/lnikell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lnikell/subscriptions","organizations_url":"https://api.github.com/users/lnikell/orgs","repos_url":"https://api.github.com/users/lnikell/repos","events_url":"https://api.github.com/users/lnikell/events{/privacy}","received_events_url":"https://api.github.com/users/lnikell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-17T13:02:17Z","updated_at":"2016-03-18T17:00:59Z","closed_at":null,"body":"Hi! I installed mina-puma today on my project and receive problem with puma:restart. For some reason restart no working and just execute stop without up.So after restart I should to execute puma:start again.\r\nIt's very weird because on other projects where I using mina-puma I do not have this problem."},"comment":{"url":"https://api.github.com/repos/untitledkingdom/mina-puma/issues/comments/198454541","html_url":"https://github.com/untitledkingdom/mina-puma/issues/4#issuecomment-198454541","issue_url":"https://api.github.com/repos/untitledkingdom/mina-puma/issues/4","id":198454541,"user":{"login":"lnikell","id":2697570,"avatar_url":"https://avatars.githubusercontent.com/u/2697570?v=3","gravatar_id":"","url":"https://api.github.com/users/lnikell","html_url":"https://github.com/lnikell","followers_url":"https://api.github.com/users/lnikell/followers","following_url":"https://api.github.com/users/lnikell/following{/other_user}","gists_url":"https://api.github.com/users/lnikell/gists{/gist_id}","starred_url":"https://api.github.com/users/lnikell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lnikell/subscriptions","organizations_url":"https://api.github.com/users/lnikell/orgs","repos_url":"https://api.github.com/users/lnikell/repos","events_url":"https://api.github.com/users/lnikell/events{/privacy}","received_events_url":"https://api.github.com/users/lnikell/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T17:00:59Z","updated_at":"2016-03-18T17:00:59Z","body":"Still the same. I will try to watch on my server confugration, but it is very weird that puma:stop and puma:start works for me but not the puma:restart\r\n```\r\n#!/usr/bin/env bash\r\n# Executing the following via 'ssh shop@ec2-52-25-33-49.us-west-2.compute.amazonaws.com -o S                                                         trictHostKeyChecking=no -t':\r\n#\r\necho \"-----> Using RVM environment 'ruby-2.2.2@default'\"\r\nif [[ ! -s \"$HOME/.rvm/scripts/rvm\" ]]; then\r\n  echo \"! Ruby Version Manager not found\"\r\n  echo \"! If RVM is installed, check your :rvm_path setting.\"\r\n  exit 1\r\nfi\r\n\r\nsource $HOME/.rvm/scripts/rvm\r\necho \\$\\ rvm\\ use\\ \\\"ruby-2.2.2@default\\\"\\ --create &&\r\nrvm use \"ruby-2.2.2@default\" --create || exit 1\r\necho \\$\\ '\r\n'\\ \\ \\ \\ \\ \\ if\\ \\[\\ -e\\ \\'/srv/shop/staging/shared/tmp/sockets/pumactl.sock\\'\\ \\]\\;\\ then'\r\n'\\ \\ \\ \\ \\ \\ \\ \\ if\\ \\[\\ -e\\ \\'/srv/shop/staging/shared/config/puma.rb\\'\\ \\]\\;\\ then'\r\n'\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ cd\\ /srv/shop/staging/current\\ \\&\\&\\ bundle\\ exec\\ pumactl\\ -F\\ /srv/sh                                                         op/staging/shared/config/puma.rb\\ restart'\r\n'\\ \\ \\ \\ \\ \\ \\ \\ else'\r\n'\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ cd\\ /srv/shop/staging/current\\ \\&\\&\\ bundle\\ exec\\ pumactl\\ -S\\ /srv/sh                                                         op/staging/shared/tmp/sockets/puma.state\\ -C\\ \\'unix:///srv/shop/staging/shared/tmp/sockets/                                                         pumactl.sock\\'\\ --pidfile\\ /srv/shop/staging/shared/tmp/pids/puma.pid\\ restart'\r\n'\\ \\ \\ \\ \\ \\ \\ \\ fi'\r\n'\\ \\ \\ \\ \\ \\ else'\r\n'\\ \\ \\ \\ \\ \\ \\ \\ echo\\ \\'Puma\\ is\\ not\\ running\\!\\'\\;'\r\n'\\ \\ \\ \\ \\ \\ fi'\r\n'\\ \\ \\ \\  &&\r\n\r\nif [ -e '/srv/shop/staging/shared/tmp/sockets/pumactl.sock' ]; then\r\n  if [ -e '/srv/shop/staging/shared/config/puma.rb' ]; then\r\n    cd /srv/shop/staging/current && bundle exec pumactl -F /srv/shop/staging/shared/config/p                                                         uma.rb restart\r\n  else\r\n    cd /srv/shop/staging/current && bundle exec pumactl -S /srv/shop/staging/shared/tmp/sock                                                         ets/puma.state -C 'unix:///srv/shop/staging/shared/tmp/sockets/pumactl.sock' --pidfile /srv/                                                         shop/staging/shared/tmp/pids/puma.pid restart\r\n  fi\r\nelse\r\n  echo 'Puma is not running!';\r\nfi\r\n       Elapsed time: 0.00 seconds\r\n\r\n```"}}