{"action":"created","issue":{"url":"https://api.github.com/repos/PeterKottas/DotNetCore.WindowsService/issues/3","repository_url":"https://api.github.com/repos/PeterKottas/DotNetCore.WindowsService","labels_url":"https://api.github.com/repos/PeterKottas/DotNetCore.WindowsService/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/PeterKottas/DotNetCore.WindowsService/issues/3/comments","events_url":"https://api.github.com/repos/PeterKottas/DotNetCore.WindowsService/issues/3/events","html_url":"https://github.com/PeterKottas/DotNetCore.WindowsService/issues/3","id":202738511,"number":3,"title":"Service Name/Description","user":{"login":"PaulCoetser","id":5609389,"avatar_url":"https://avatars.githubusercontent.com/u/5609389?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulCoetser","html_url":"https://github.com/PaulCoetser","followers_url":"https://api.github.com/users/PaulCoetser/followers","following_url":"https://api.github.com/users/PaulCoetser/following{/other_user}","gists_url":"https://api.github.com/users/PaulCoetser/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulCoetser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulCoetser/subscriptions","organizations_url":"https://api.github.com/users/PaulCoetser/orgs","repos_url":"https://api.github.com/users/PaulCoetser/repos","events_url":"https://api.github.com/users/PaulCoetser/events{/privacy}","received_events_url":"https://api.github.com/users/PaulCoetser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-24T06:48:03Z","updated_at":"2017-01-24T07:03:53Z","closed_at":null,"body":"Hi Peter,\r\n\r\nI'am using this library and I do struggle a little to setup this service.\r\n\r\nI got it to install my service and start the service. The service name / description I provide gets ignored if I provide it like below.\r\n\r\npublic static void Main(string[] args)\r\n{\r\nServiceRunner.Run(config =>\r\n{\r\nconfig.SetName(\"MY Service\");\r\nconfig.SetDescription(\"This service host a WebAPI\");\r\n}\r\n}\r\n\r\nif I run my install command as follows it does have the correct name / description but converted to all lower case (when viewed in local services - via control panel):\r\ndotnet run action:install name:\"MY CAPS Service\" description:\"UpperCase description of MY Service\"\r\n\r\nanother question is when the service is already installed and started and I try to \"install\" it again I get a dotnet already inuse exception. If I stop the service manually before I run the install command it works.\r\nmy command I use to install:\r\ndotnet run action:install\r\n\r\nuninstall command:\r\ndotnet run action:uninstall\r\n\r\nThank you"},"comment":{"url":"https://api.github.com/repos/PeterKottas/DotNetCore.WindowsService/issues/comments/274725784","html_url":"https://github.com/PeterKottas/DotNetCore.WindowsService/issues/3#issuecomment-274725784","issue_url":"https://api.github.com/repos/PeterKottas/DotNetCore.WindowsService/issues/3","id":274725784,"user":{"login":"PeterKottas","id":10601911,"avatar_url":"https://avatars.githubusercontent.com/u/10601911?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterKottas","html_url":"https://github.com/PeterKottas","followers_url":"https://api.github.com/users/PeterKottas/followers","following_url":"https://api.github.com/users/PeterKottas/following{/other_user}","gists_url":"https://api.github.com/users/PeterKottas/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterKottas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterKottas/subscriptions","organizations_url":"https://api.github.com/users/PeterKottas/orgs","repos_url":"https://api.github.com/users/PeterKottas/repos","events_url":"https://api.github.com/users/PeterKottas/events{/privacy}","received_events_url":"https://api.github.com/users/PeterKottas/received_events","type":"User","site_admin":false},"created_at":"2017-01-24T07:03:53Z","updated_at":"2017-01-24T07:03:53Z","body":"Hi Paul, thanks for the in-depth explanation. All seems valid points and hopefully easy to recreate. I'll look into it today after work and will let you know as soon as I know something."}}
{"actor":{"display_login":"PeterKottas"}}