{"action":"created","issue":{"url":"https://api.github.com/repos/takama/daemon/issues/49","repository_url":"https://api.github.com/repos/takama/daemon","labels_url":"https://api.github.com/repos/takama/daemon/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/takama/daemon/issues/49/comments","events_url":"https://api.github.com/repos/takama/daemon/issues/49/events","html_url":"https://github.com/takama/daemon/issues/49","id":222092007,"number":49,"title":"name: unrecognized service under CentOS 6.5","user":{"login":"rafw","id":4507840,"avatar_url":"https://avatars2.githubusercontent.com/u/4507840?v=3","gravatar_id":"","url":"https://api.github.com/users/rafw","html_url":"https://github.com/rafw","followers_url":"https://api.github.com/users/rafw/followers","following_url":"https://api.github.com/users/rafw/following{/other_user}","gists_url":"https://api.github.com/users/rafw/gists{/gist_id}","starred_url":"https://api.github.com/users/rafw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafw/subscriptions","organizations_url":"https://api.github.com/users/rafw/orgs","repos_url":"https://api.github.com/users/rafw/repos","events_url":"https://api.github.com/users/rafw/events{/privacy}","received_events_url":"https://api.github.com/users/rafw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-17T08:42:00Z","updated_at":"2017-04-17T09:15:10Z","closed_at":null,"body":"I use simplest example in README\r\n\r\npackage main\r\n\r\nimport (\r\n\t\"fmt\"\r\n\t\"log\"\r\n\r\n\t\"github.com/takama/daemon\"\r\n)\r\n\r\nfunc main() {\r\n\tservice, err := daemon.New(\"name\", \"description\")\r\n\tif err != nil {\r\n\t\tlog.Fatal(\"Error: \", err)\r\n\t}\r\n\tstatus, err := service.Install()\r\n\tif err != nil {\r\n\t\tlog.Fatal(status, \"\\nError: \", err)\r\n\t}\r\n\tfmt.Println(status)\r\n}\r\n\r\n\r\nAfter running the demo, I tried to stop this service with \"service name stop\", but returns error: \"name: unrecognized service\""},"comment":{"url":"https://api.github.com/repos/takama/daemon/issues/comments/294437677","html_url":"https://github.com/takama/daemon/issues/49#issuecomment-294437677","issue_url":"https://api.github.com/repos/takama/daemon/issues/49","id":294437677,"user":{"login":"rafw","id":4507840,"avatar_url":"https://avatars2.githubusercontent.com/u/4507840?v=3","gravatar_id":"","url":"https://api.github.com/users/rafw","html_url":"https://github.com/rafw","followers_url":"https://api.github.com/users/rafw/followers","following_url":"https://api.github.com/users/rafw/following{/other_user}","gists_url":"https://api.github.com/users/rafw/gists{/gist_id}","starred_url":"https://api.github.com/users/rafw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafw/subscriptions","organizations_url":"https://api.github.com/users/rafw/orgs","repos_url":"https://api.github.com/users/rafw/repos","events_url":"https://api.github.com/users/rafw/events{/privacy}","received_events_url":"https://api.github.com/users/rafw/received_events","type":"User","site_admin":false},"created_at":"2017-04-17T09:15:10Z","updated_at":"2017-04-17T09:15:10Z","body":"The same error info.\r\n\r\nI compiled simplest demo, and run it. And I found the \"name.conf\" under /etc/init/. But service name status still not work."}}
{"actor":{"display_login":"rafw"}}