{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/2106","labels_url":"https://api.github.com/repos/grafana/grafana/issues/2106/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/2106/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/2106/events","html_url":"https://github.com/grafana/grafana/issues/2106","id":84664099,"number":2106,"title":"exit codes for for grafana-server status","user":{"login":"yaryarrr","id":5166564,"avatar_url":"https://avatars.githubusercontent.com/u/5166564?v=3","gravatar_id":"","url":"https://api.github.com/users/yaryarrr","html_url":"https://github.com/yaryarrr","followers_url":"https://api.github.com/users/yaryarrr/followers","following_url":"https://api.github.com/users/yaryarrr/following{/other_user}","gists_url":"https://api.github.com/users/yaryarrr/gists{/gist_id}","starred_url":"https://api.github.com/users/yaryarrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaryarrr/subscriptions","organizations_url":"https://api.github.com/users/yaryarrr/orgs","repos_url":"https://api.github.com/users/yaryarrr/repos","events_url":"https://api.github.com/users/yaryarrr/events{/privacy}","received_events_url":"https://api.github.com/users/yaryarrr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/grafana/grafana/labels/More%20detail%20needed","name":"More detail needed","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-03T16:59:03Z","updated_at":"2015-06-03T20:43:27Z","closed_at":null,"body":"I'm attempting to deploy grafana via configuration management (in my case salt, but applies to all) and it won't start the service because the init script packaged in the RPM doesn't provided correct status'.\r\n\r\nHere are the return codes used: http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html\r\n\r\n**Example:**\r\n```\r\n[root@localhost ~]# service grafana-server status\r\ngrafana-server is stopped\r\n[root@localhost ~]# echo $?\r\n0\r\n[root@localhost ~]# service grafana-server start\r\nStarting Grafana Server: .... nohup: redirecting stderr to stdout\r\nOK\r\n[root@localhost ~]# service grafana-server status\r\ngrafana-server (pid  3513) is running...\r\n[root@localhost ~]# echo $?\r\n0\r\n```"},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/108609857","html_url":"https://github.com/grafana/grafana/issues/2106#issuecomment-108609857","issue_url":"https://api.github.com/repos/grafana/grafana/issues/2106","id":108609857,"user":{"login":"yaryarrr","id":5166564,"avatar_url":"https://avatars.githubusercontent.com/u/5166564?v=3","gravatar_id":"","url":"https://api.github.com/users/yaryarrr","html_url":"https://github.com/yaryarrr","followers_url":"https://api.github.com/users/yaryarrr/followers","following_url":"https://api.github.com/users/yaryarrr/following{/other_user}","gists_url":"https://api.github.com/users/yaryarrr/gists{/gist_id}","starred_url":"https://api.github.com/users/yaryarrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaryarrr/subscriptions","organizations_url":"https://api.github.com/users/yaryarrr/orgs","repos_url":"https://api.github.com/users/yaryarrr/repos","events_url":"https://api.github.com/users/yaryarrr/events{/privacy}","received_events_url":"https://api.github.com/users/yaryarrr/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T20:43:27Z","updated_at":"2015-06-03T20:43:27Z","body":"Ack. sorry...I sent the wrong link (too many things at once). I updated the original link, does that help?"}}