{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/logstash/issues/5067","repository_url":"https://api.github.com/repos/elastic/logstash","labels_url":"https://api.github.com/repos/elastic/logstash/issues/5067/labels{/name}","comments_url":"https://api.github.com/repos/elastic/logstash/issues/5067/comments","events_url":"https://api.github.com/repos/elastic/logstash/issues/5067/events","html_url":"https://github.com/elastic/logstash/issues/5067","id":146833190,"number":5067,"title":"Typo in /etc/init.d/logstash (2.3.1)","user":{"login":"samuraiii","id":1114410,"avatar_url":"https://avatars.githubusercontent.com/u/1114410?v=3","gravatar_id":"","url":"https://api.github.com/users/samuraiii","html_url":"https://github.com/samuraiii","followers_url":"https://api.github.com/users/samuraiii/followers","following_url":"https://api.github.com/users/samuraiii/following{/other_user}","gists_url":"https://api.github.com/users/samuraiii/gists{/gist_id}","starred_url":"https://api.github.com/users/samuraiii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuraiii/subscriptions","organizations_url":"https://api.github.com/users/samuraiii/orgs","repos_url":"https://api.github.com/users/samuraiii/repos","events_url":"https://api.github.com/users/samuraiii/events{/privacy}","received_events_url":"https://api.github.com/users/samuraiii/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-08T06:52:58Z","updated_at":"2016-04-08T07:06:24Z","closed_at":null,"body":"$ /etc/init.d/logstash stop\r\nKilling logstash (pid 8780) with SIGTERM\r\nWaiting logstash (pid 8780) to die...\r\nWaiting logstash (pid 8780) to die...\r\nWaiting logstash (pid 8780) to die...\r\nWaiting logstash (pid 8780) to die...\r\nWaiting logstash (pid 8780) to die...\r\nWaiting logstash (pid 8780) to die...\r\nWaiting logstash (pid 8780) to die...\r\nWaiting logstash (pid 8780) to die...\r\nWaiting logstash (pid 8780) to die...\r\n/etc/init.d/logstash: line 99: [: -eq: unary operator expected\r\nlogstash stop failed; still running.\r\n\r\n if [ $KILL_ON_STOP_TIMEOUT -eq 1 ] ; then\r\nit should be as in v 2.3.0\r\n if [[ $KILL_ON_STOP_TIMEOUT -eq 1 ]] ; then"},"comment":{"url":"https://api.github.com/repos/elastic/logstash/issues/comments/207262329","html_url":"https://github.com/elastic/logstash/issues/5067#issuecomment-207262329","issue_url":"https://api.github.com/repos/elastic/logstash/issues/5067","id":207262329,"user":{"login":"samuraiii","id":1114410,"avatar_url":"https://avatars.githubusercontent.com/u/1114410?v=3","gravatar_id":"","url":"https://api.github.com/users/samuraiii","html_url":"https://github.com/samuraiii","followers_url":"https://api.github.com/users/samuraiii/followers","following_url":"https://api.github.com/users/samuraiii/following{/other_user}","gists_url":"https://api.github.com/users/samuraiii/gists{/gist_id}","starred_url":"https://api.github.com/users/samuraiii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuraiii/subscriptions","organizations_url":"https://api.github.com/users/samuraiii/orgs","repos_url":"https://api.github.com/users/samuraiii/repos","events_url":"https://api.github.com/users/samuraiii/events{/privacy}","received_events_url":"https://api.github.com/users/samuraiii/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T07:06:24Z","updated_at":"2016-04-08T07:06:24Z","body":"OK or better we really need that KILL_ON_STOP_TIMEOUT variable to be set (maybe add it as a zero to init script...)\r\n`LS_OPTS=\"\"\r\nKILL_ON_STOP_TIMEOUT=0`"}}