{"action":"closed","number":1814,"pull_request":{"url":"https://api.github.com/repos/systemd/systemd/pulls/1814","id":50107526,"html_url":"https://github.com/systemd/systemd/pull/1814","diff_url":"https://github.com/systemd/systemd/pull/1814.diff","patch_url":"https://github.com/systemd/systemd/pull/1814.patch","issue_url":"https://api.github.com/repos/systemd/systemd/issues/1814","number":1814,"state":"closed","locked":false,"title":"nspawn: support custom container service name","user":{"login":"iaguis","id":507354,"avatar_url":"https://avatars.githubusercontent.com/u/507354?v=3","gravatar_id":"","url":"https://api.github.com/users/iaguis","html_url":"https://github.com/iaguis","followers_url":"https://api.github.com/users/iaguis/followers","following_url":"https://api.github.com/users/iaguis/following{/other_user}","gists_url":"https://api.github.com/users/iaguis/gists{/gist_id}","starred_url":"https://api.github.com/users/iaguis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iaguis/subscriptions","organizations_url":"https://api.github.com/users/iaguis/orgs","repos_url":"https://api.github.com/users/iaguis/repos","events_url":"https://api.github.com/users/iaguis/events{/privacy}","received_events_url":"https://api.github.com/users/iaguis/received_events","type":"User","site_admin":false},"body":"We were hardcoding \"systemd-nspawn\" as the value of the $container env\r\nvariable and \"nspawn\" as the service string in machined registration.\r\n\r\nThis commit allows the user to configure it by setting the $container\r\nenv variable when calling systemd-nspawn.\r\n\r\nIf $container is not set, we use the string \"systemd-nspawn\" for both,\r\nfixing the previous inconsistency.","created_at":"2015-11-09T10:45:22Z","updated_at":"2015-11-09T13:46:05Z","closed_at":"2015-11-09T13:46:05Z","merged_at":null,"merge_commit_sha":"c41f6bce5c53c87c34ea59195a6c475eb659c33c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/systemd/systemd/pulls/1814/commits","review_comments_url":"https://api.github.com/repos/systemd/systemd/pulls/1814/comments","review_comment_url":"https://api.github.com/repos/systemd/systemd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/1814/comments","statuses_url":"https://api.github.com/repos/systemd/systemd/statuses/c85e5f6bf8e2e2c43577e77c103c6609048d4842","head":{"label":"iaguis:nspawn-custom-service","ref":"nspawn-custom-service","sha":"c85e5f6bf8e2e2c43577e77c103c6609048d4842","user":{"login":"iaguis","id":507354,"avatar_url":"https://avatars.githubusercontent.com/u/507354?v=3","gravatar_id":"","url":"https://api.github.com/users/iaguis","html_url":"https://github.com/iaguis","followers_url":"https://api.github.com/users/iaguis/followers","following_url":"https://api.github.com/users/iaguis/following{/other_user}","gists_url":"https://api.github.com/users/iaguis/gists{/gist_id}","starred_url":"https://api.github.com/users/iaguis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iaguis/subscriptions","organizations_url":"https://api.github.com/users/iaguis/orgs","repos_url":"https://api.github.com/users/iaguis/repos","events_url":"https://api.github.com/users/iaguis/events{/privacy}","received_events_url":"https://api.github.com/users/iaguis/received_events","type":"User","site_admin":false},"repo":{"id":37249694,"name":"systemd","full_name":"iaguis/systemd","owner":{"login":"iaguis","id":507354,"avatar_url":"https://avatars.githubusercontent.com/u/507354?v=3","gravatar_id":"","url":"https://api.github.com/users/iaguis","html_url":"https://github.com/iaguis","followers_url":"https://api.github.com/users/iaguis/followers","following_url":"https://api.github.com/users/iaguis/following{/other_user}","gists_url":"https://api.github.com/users/iaguis/gists{/gist_id}","starred_url":"https://api.github.com/users/iaguis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iaguis/subscriptions","organizations_url":"https://api.github.com/users/iaguis/orgs","repos_url":"https://api.github.com/users/iaguis/repos","events_url":"https://api.github.com/users/iaguis/events{/privacy}","received_events_url":"https://api.github.com/users/iaguis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iaguis/systemd","description":"systemd upstream","fork":true,"url":"https://api.github.com/repos/iaguis/systemd","forks_url":"https://api.github.com/repos/iaguis/systemd/forks","keys_url":"https://api.github.com/repos/iaguis/systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iaguis/systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iaguis/systemd/teams","hooks_url":"https://api.github.com/repos/iaguis/systemd/hooks","issue_events_url":"https://api.github.com/repos/iaguis/systemd/issues/events{/number}","events_url":"https://api.github.com/repos/iaguis/systemd/events","assignees_url":"https://api.github.com/repos/iaguis/systemd/assignees{/user}","branches_url":"https://api.github.com/repos/iaguis/systemd/branches{/branch}","tags_url":"https://api.github.com/repos/iaguis/systemd/tags","blobs_url":"https://api.github.com/repos/iaguis/systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iaguis/systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iaguis/systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/iaguis/systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iaguis/systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/iaguis/systemd/languages","stargazers_url":"https://api.github.com/repos/iaguis/systemd/stargazers","contributors_url":"https://api.github.com/repos/iaguis/systemd/contributors","subscribers_url":"https://api.github.com/repos/iaguis/systemd/subscribers","subscription_url":"https://api.github.com/repos/iaguis/systemd/subscription","commits_url":"https://api.github.com/repos/iaguis/systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/iaguis/systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/iaguis/systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/iaguis/systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/iaguis/systemd/contents/{+path}","compare_url":"https://api.github.com/repos/iaguis/systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iaguis/systemd/merges","archive_url":"https://api.github.com/repos/iaguis/systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iaguis/systemd/downloads","issues_url":"https://api.github.com/repos/iaguis/systemd/issues{/number}","pulls_url":"https://api.github.com/repos/iaguis/systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/iaguis/systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/iaguis/systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iaguis/systemd/labels{/name}","releases_url":"https://api.github.com/repos/iaguis/systemd/releases{/id}","created_at":"2015-06-11T08:44:22Z","updated_at":"2015-06-11T08:44:27Z","pushed_at":"2015-11-09T13:46:04Z","git_url":"git://github.com/iaguis/systemd.git","ssh_url":"git@github.com:iaguis/systemd.git","clone_url":"https://github.com/iaguis/systemd.git","svn_url":"https://github.com/iaguis/systemd","homepage":"http://www.freedesktop.org/wiki/Software/systemd/","size":42813,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"systemd:master","ref":"master","sha":"4286219103a7791ff9114b7dcc8e9938d154af3e","user":{"login":"systemd","id":1918868,"avatar_url":"https://avatars.githubusercontent.com/u/1918868?v=3","gravatar_id":"","url":"https://api.github.com/users/systemd","html_url":"https://github.com/systemd","followers_url":"https://api.github.com/users/systemd/followers","following_url":"https://api.github.com/users/systemd/following{/other_user}","gists_url":"https://api.github.com/users/systemd/gists{/gist_id}","starred_url":"https://api.github.com/users/systemd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemd/subscriptions","organizations_url":"https://api.github.com/users/systemd/orgs","repos_url":"https://api.github.com/users/systemd/repos","events_url":"https://api.github.com/users/systemd/events{/privacy}","received_events_url":"https://api.github.com/users/systemd/received_events","type":"Organization","site_admin":false},"repo":{"id":32873313,"name":"systemd","full_name":"systemd/systemd","owner":{"login":"systemd","id":1918868,"avatar_url":"https://avatars.githubusercontent.com/u/1918868?v=3","gravatar_id":"","url":"https://api.github.com/users/systemd","html_url":"https://github.com/systemd","followers_url":"https://api.github.com/users/systemd/followers","following_url":"https://api.github.com/users/systemd/following{/other_user}","gists_url":"https://api.github.com/users/systemd/gists{/gist_id}","starred_url":"https://api.github.com/users/systemd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemd/subscriptions","organizations_url":"https://api.github.com/users/systemd/orgs","repos_url":"https://api.github.com/users/systemd/repos","events_url":"https://api.github.com/users/systemd/events{/privacy}","received_events_url":"https://api.github.com/users/systemd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/systemd/systemd","description":"systemd upstream","fork":false,"url":"https://api.github.com/repos/systemd/systemd","forks_url":"https://api.github.com/repos/systemd/systemd/forks","keys_url":"https://api.github.com/repos/systemd/systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systemd/systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systemd/systemd/teams","hooks_url":"https://api.github.com/repos/systemd/systemd/hooks","issue_events_url":"https://api.github.com/repos/systemd/systemd/issues/events{/number}","events_url":"https://api.github.com/repos/systemd/systemd/events","assignees_url":"https://api.github.com/repos/systemd/systemd/assignees{/user}","branches_url":"https://api.github.com/repos/systemd/systemd/branches{/branch}","tags_url":"https://api.github.com/repos/systemd/systemd/tags","blobs_url":"https://api.github.com/repos/systemd/systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systemd/systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systemd/systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/systemd/systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systemd/systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/systemd/systemd/languages","stargazers_url":"https://api.github.com/repos/systemd/systemd/stargazers","contributors_url":"https://api.github.com/repos/systemd/systemd/contributors","subscribers_url":"https://api.github.com/repos/systemd/systemd/subscribers","subscription_url":"https://api.github.com/repos/systemd/systemd/subscription","commits_url":"https://api.github.com/repos/systemd/systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/systemd/systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/systemd/systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/systemd/systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/systemd/systemd/contents/{+path}","compare_url":"https://api.github.com/repos/systemd/systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systemd/systemd/merges","archive_url":"https://api.github.com/repos/systemd/systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systemd/systemd/downloads","issues_url":"https://api.github.com/repos/systemd/systemd/issues{/number}","pulls_url":"https://api.github.com/repos/systemd/systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/systemd/systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/systemd/systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systemd/systemd/labels{/name}","releases_url":"https://api.github.com/repos/systemd/systemd/releases{/id}","created_at":"2015-03-25T15:27:27Z","updated_at":"2015-11-09T08:17:34Z","pushed_at":"2015-11-09T13:45:14Z","git_url":"git://github.com/systemd/systemd.git","ssh_url":"git@github.com:systemd/systemd.git","clone_url":"https://github.com/systemd/systemd.git","svn_url":"https://github.com/systemd/systemd","homepage":"http://www.freedesktop.org/wiki/Software/systemd/","size":57946,"stargazers_count":679,"watchers_count":679,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":264,"mirror_url":null,"open_issues_count":247,"forks":264,"open_issues":247,"watchers":679,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/systemd/systemd/pulls/1814"},"html":{"href":"https://github.com/systemd/systemd/pull/1814"},"issue":{"href":"https://api.github.com/repos/systemd/systemd/issues/1814"},"comments":{"href":"https://api.github.com/repos/systemd/systemd/issues/1814/comments"},"review_comments":{"href":"https://api.github.com/repos/systemd/systemd/pulls/1814/comments"},"review_comment":{"href":"https://api.github.com/repos/systemd/systemd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systemd/systemd/pulls/1814/commits"},"statuses":{"href":"https://api.github.com/repos/systemd/systemd/statuses/c85e5f6bf8e2e2c43577e77c103c6609048d4842"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":2,"review_comments":0,"commits":2,"additions":27,"deletions":9,"changed_files":7}}