{"action":"closed","issue":{"url":"https://api.github.com/repos/birkett/CloudFlare-DDNS-Updater/issues/4","labels_url":"https://api.github.com/repos/birkett/CloudFlare-DDNS-Updater/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/birkett/CloudFlare-DDNS-Updater/issues/4/comments","events_url":"https://api.github.com/repos/birkett/CloudFlare-DDNS-Updater/issues/4/events","html_url":"https://github.com/birkett/CloudFlare-DDNS-Updater/issues/4","id":62536222,"number":4,"title":"Run as a service","user":{"login":"birkett","id":6772981,"avatar_url":"https://avatars.githubusercontent.com/u/6772981?v=3","gravatar_id":"","url":"https://api.github.com/users/birkett","html_url":"https://github.com/birkett","followers_url":"https://api.github.com/users/birkett/followers","following_url":"https://api.github.com/users/birkett/following{/other_user}","gists_url":"https://api.github.com/users/birkett/gists{/gist_id}","starred_url":"https://api.github.com/users/birkett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/birkett/subscriptions","organizations_url":"https://api.github.com/users/birkett/orgs","repos_url":"https://api.github.com/users/birkett/repos","events_url":"https://api.github.com/users/birkett/events{/privacy}","received_events_url":"https://api.github.com/users/birkett/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"birkett","id":6772981,"avatar_url":"https://avatars.githubusercontent.com/u/6772981?v=3","gravatar_id":"","url":"https://api.github.com/users/birkett","html_url":"https://github.com/birkett","followers_url":"https://api.github.com/users/birkett/followers","following_url":"https://api.github.com/users/birkett/following{/other_user}","gists_url":"https://api.github.com/users/birkett/gists{/gist_id}","starred_url":"https://api.github.com/users/birkett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/birkett/subscriptions","organizations_url":"https://api.github.com/users/birkett/orgs","repos_url":"https://api.github.com/users/birkett/repos","events_url":"https://api.github.com/users/birkett/events{/privacy}","received_events_url":"https://api.github.com/users/birkett/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-03-17T22:43:06Z","updated_at":"2015-03-19T21:50:55Z","closed_at":"2015-03-19T21:50:55Z","body":"The app should be able to run as a Windows service. I have two thoughts on how to approach this:\r\n\r\n1) Have the current codebase act as a service when invoked with a switch. Present the UI when running normally.\r\n\r\n-or- \r\n\r\n2) Split out the update / fetch logic, move this into a separate service executable. Then have the UI communicate with the service, passing a list of hosts to update."}}