{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/foreman-discovery-image/issues/14","labels_url":"https://api.github.com/repos/theforeman/foreman-discovery-image/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/foreman-discovery-image/issues/14/comments","events_url":"https://api.github.com/repos/theforeman/foreman-discovery-image/issues/14/events","html_url":"https://github.com/theforeman/foreman-discovery-image/pull/14","id":87717472,"number":14,"title":"Fixes #10650 - fixed race condition in discovery-setup","user":{"login":"lzap","id":49752,"avatar_url":"https://avatars.githubusercontent.com/u/49752?v=3","gravatar_id":"","url":"https://api.github.com/users/lzap","html_url":"https://github.com/lzap","followers_url":"https://api.github.com/users/lzap/followers","following_url":"https://api.github.com/users/lzap/following{/other_user}","gists_url":"https://api.github.com/users/lzap/gists{/gist_id}","starred_url":"https://api.github.com/users/lzap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzap/subscriptions","organizations_url":"https://api.github.com/users/lzap/orgs","repos_url":"https://api.github.com/users/lzap/repos","events_url":"https://api.github.com/users/lzap/events{/privacy}","received_events_url":"https://api.github.com/users/lzap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"stbenjam","id":429763,"avatar_url":"https://avatars.githubusercontent.com/u/429763?v=3","gravatar_id":"","url":"https://api.github.com/users/stbenjam","html_url":"https://github.com/stbenjam","followers_url":"https://api.github.com/users/stbenjam/followers","following_url":"https://api.github.com/users/stbenjam/following{/other_user}","gists_url":"https://api.github.com/users/stbenjam/gists{/gist_id}","starred_url":"https://api.github.com/users/stbenjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stbenjam/subscriptions","organizations_url":"https://api.github.com/users/stbenjam/orgs","repos_url":"https://api.github.com/users/stbenjam/repos","events_url":"https://api.github.com/users/stbenjam/events{/privacy}","received_events_url":"https://api.github.com/users/stbenjam/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-06-12T12:44:11Z","updated_at":"2015-07-02T14:18:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman-discovery-image/pulls/14","html_url":"https://github.com/theforeman/foreman-discovery-image/pull/14","diff_url":"https://github.com/theforeman/foreman-discovery-image/pull/14.diff","patch_url":"https://github.com/theforeman/foreman-discovery-image/pull/14.patch"},"body":"See the ticket for more info."},"comment":{"url":"https://api.github.com/repos/theforeman/foreman-discovery-image/issues/comments/118047921","html_url":"https://github.com/theforeman/foreman-discovery-image/pull/14#issuecomment-118047921","issue_url":"https://api.github.com/repos/theforeman/foreman-discovery-image/issues/14","id":118047921,"user":{"login":"lzap","id":49752,"avatar_url":"https://avatars.githubusercontent.com/u/49752?v=3","gravatar_id":"","url":"https://api.github.com/users/lzap","html_url":"https://github.com/lzap","followers_url":"https://api.github.com/users/lzap/followers","following_url":"https://api.github.com/users/lzap/following{/other_user}","gists_url":"https://api.github.com/users/lzap/gists{/gist_id}","starred_url":"https://api.github.com/users/lzap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzap/subscriptions","organizations_url":"https://api.github.com/users/lzap/orgs","repos_url":"https://api.github.com/users/lzap/repos","events_url":"https://api.github.com/users/lzap/events{/privacy}","received_events_url":"https://api.github.com/users/lzap/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T14:18:23Z","updated_at":"2015-07-02T14:18:23Z","body":"Ok I think we actually need `PathChanged=`: may be used to watch a file or directory and activate the configured unit whenever it changes. It is not activated on every write to the watched file but it is activated if the file which was open for writing gets closed.\r\n\r\nhttp://www.freedesktop.org/software/systemd/man/systemd.path.html\r\n\r\nI think we read the file when it gets created (and is empty)."}}