{"action":"created","comment":{"url":"https://api.github.com/repos/StackStorm/st2-packages/pulls/comments/50827408","id":50827408,"diff_hunk":"@@ -18,8 +18,8 @@\n PATH=/sbin:/usr/sbin:/bin:/usr/bin\n DESC=\"st2api\"\n NAME=st2api\n-DAEMON=/usr/share/python/st2api/bin/$NAME\n-DAEMON_ARGS=\"--config-file /etc/st2/st2.conf\"\n+DAEMON=/usr/share/python/st2api/bin/gunicorn_pecan\n+DAEMON_ARGS=\"/usr/share/python/st2api/lib/python2.7/site-packages/st2api/gunicorn_config.py -k eventlet -b 127.0.0.1:9101 --threads 10 --workers 1\"","path":"packages/st2api/debian/st2api.init","position":7,"original_position":7,"commit_id":"8b0f17ce4b482da7724969149bd1947ac7aff595","original_commit_id":"8b0f17ce4b482da7724969149bd1947ac7aff595","user":{"login":"enykeev","id":1357357,"avatar_url":"https://avatars.githubusercontent.com/u/1357357?v=3","gravatar_id":"","url":"https://api.github.com/users/enykeev","html_url":"https://github.com/enykeev","followers_url":"https://api.github.com/users/enykeev/followers","following_url":"https://api.github.com/users/enykeev/following{/other_user}","gists_url":"https://api.github.com/users/enykeev/gists{/gist_id}","starred_url":"https://api.github.com/users/enykeev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enykeev/subscriptions","organizations_url":"https://api.github.com/users/enykeev/orgs","repos_url":"https://api.github.com/users/enykeev/repos","events_url":"https://api.github.com/users/enykeev/events{/privacy}","received_events_url":"https://api.github.com/users/enykeev/received_events","type":"User","site_admin":false},"body":"gunicorn does not allow you to pass arguments the same way you're passing them to the script. You can although redefine config pach using env variable https://github.com/StackStorm/st2/blob/master/st2api/st2api/gunicorn_config.py#L35-L36. I don't see it as an immediate concern, the amount of users who need to change the config is extremely low, but you believe it is a problem, feel free to pass the variable.","created_at":"2016-01-26T12:16:09Z","updated_at":"2016-01-26T12:16:09Z","html_url":"https://github.com/StackStorm/st2-packages/pull/100#discussion_r50827408","pull_request_url":"https://api.github.com/repos/StackStorm/st2-packages/pulls/100","_links":{"self":{"href":"https://api.github.com/repos/StackStorm/st2-packages/pulls/comments/50827408"},"html":{"href":"https://github.com/StackStorm/st2-packages/pull/100#discussion_r50827408"},"pull_request":{"href":"https://api.github.com/repos/StackStorm/st2-packages/pulls/100"}}},"pull_request":{"url":"https://api.github.com/repos/StackStorm/st2-packages/pulls/100","id":56919715,"html_url":"https://github.com/StackStorm/st2-packages/pull/100","diff_url":"https://github.com/StackStorm/st2-packages/pull/100.diff","patch_url":"https://github.com/StackStorm/st2-packages/pull/100.patch","issue_url":"https://api.github.com/repos/StackStorm/st2-packages/issues/100","number":100,"state":"closed","locked":false,"title":"WSGI for st2auth and st2bundle","user":{"login":"armab","id":1533818,"avatar_url":"https://avatars.githubusercontent.com/u/1533818?v=3","gravatar_id":"","url":"https://api.github.com/users/armab","html_url":"https://github.com/armab","followers_url":"https://api.github.com/users/armab/followers","following_url":"https://api.github.com/users/armab/following{/other_user}","gists_url":"https://api.github.com/users/armab/gists{/gist_id}","starred_url":"https://api.github.com/users/armab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armab/subscriptions","organizations_url":"https://api.github.com/users/armab/orgs","repos_url":"https://api.github.com/users/armab/repos","events_url":"https://api.github.com/users/armab/events{/privacy}","received_events_url":"https://api.github.com/users/armab/received_events","type":"User","site_admin":false},"body":"Let's open PR, since almost all blockers resolved with [no need of unix sockets anymore](https://github.com/StackStorm/st2-packages/issues/94#issuecomment-173985267) and we can commit, rather then experiment/try & force-push.\r\n\r\nAddresses issue #94\r\n\r\n> Most of the work is done by @enykeev\r\n","created_at":"2016-01-22T17:52:22Z","updated_at":"2016-01-26T12:16:09Z","closed_at":"2016-01-25T15:07:05Z","merged_at":"2016-01-25T15:07:05Z","merge_commit_sha":"89f4ed4893fd43d728fcd8db10d525b23f9fb60e","assignee":{"login":"enykeev","id":1357357,"avatar_url":"https://avatars.githubusercontent.com/u/1357357?v=3","gravatar_id":"","url":"https://api.github.com/users/enykeev","html_url":"https://github.com/enykeev","followers_url":"https://api.github.com/users/enykeev/followers","following_url":"https://api.github.com/users/enykeev/following{/other_user}","gists_url":"https://api.github.com/users/enykeev/gists{/gist_id}","starred_url":"https://api.github.com/users/enykeev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enykeev/subscriptions","organizations_url":"https://api.github.com/users/enykeev/orgs","repos_url":"https://api.github.com/users/enykeev/repos","events_url":"https://api.github.com/users/enykeev/events{/privacy}","received_events_url":"https://api.github.com/users/enykeev/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/StackStorm/st2-packages/pulls/100/commits","review_comments_url":"https://api.github.com/repos/StackStorm/st2-packages/pulls/100/comments","review_comment_url":"https://api.github.com/repos/StackStorm/st2-packages/pulls/comments{/number}","comments_url":"https://api.github.com/repos/StackStorm/st2-packages/issues/100/comments","statuses_url":"https://api.github.com/repos/StackStorm/st2-packages/statuses/8b0f17ce4b482da7724969149bd1947ac7aff595","head":{"label":"StackStorm:fix/inits","ref":"fix/inits","sha":"8b0f17ce4b482da7724969149bd1947ac7aff595","user":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"repo":{"id":38112294,"name":"st2-packages","full_name":"StackStorm/st2-packages","owner":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StackStorm/st2-packages","description":"StackStorm packages (automated docker build pipeline)","fork":false,"url":"https://api.github.com/repos/StackStorm/st2-packages","forks_url":"https://api.github.com/repos/StackStorm/st2-packages/forks","keys_url":"https://api.github.com/repos/StackStorm/st2-packages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StackStorm/st2-packages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StackStorm/st2-packages/teams","hooks_url":"https://api.github.com/repos/StackStorm/st2-packages/hooks","issue_events_url":"https://api.github.com/repos/StackStorm/st2-packages/issues/events{/number}","events_url":"https://api.github.com/repos/StackStorm/st2-packages/events","assignees_url":"https://api.github.com/repos/StackStorm/st2-packages/assignees{/user}","branches_url":"https://api.github.com/repos/StackStorm/st2-packages/branches{/branch}","tags_url":"https://api.github.com/repos/StackStorm/st2-packages/tags","blobs_url":"https://api.github.com/repos/StackStorm/st2-packages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StackStorm/st2-packages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StackStorm/st2-packages/git/refs{/sha}","trees_url":"https://api.github.com/repos/StackStorm/st2-packages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StackStorm/st2-packages/statuses/{sha}","languages_url":"https://api.github.com/repos/StackStorm/st2-packages/languages","stargazers_url":"https://api.github.com/repos/StackStorm/st2-packages/stargazers","contributors_url":"https://api.github.com/repos/StackStorm/st2-packages/contributors","subscribers_url":"https://api.github.com/repos/StackStorm/st2-packages/subscribers","subscription_url":"https://api.github.com/repos/StackStorm/st2-packages/subscription","commits_url":"https://api.github.com/repos/StackStorm/st2-packages/commits{/sha}","git_commits_url":"https://api.github.com/repos/StackStorm/st2-packages/git/commits{/sha}","comments_url":"https://api.github.com/repos/StackStorm/st2-packages/comments{/number}","issue_comment_url":"https://api.github.com/repos/StackStorm/st2-packages/issues/comments{/number}","contents_url":"https://api.github.com/repos/StackStorm/st2-packages/contents/{+path}","compare_url":"https://api.github.com/repos/StackStorm/st2-packages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StackStorm/st2-packages/merges","archive_url":"https://api.github.com/repos/StackStorm/st2-packages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StackStorm/st2-packages/downloads","issues_url":"https://api.github.com/repos/StackStorm/st2-packages/issues{/number}","pulls_url":"https://api.github.com/repos/StackStorm/st2-packages/pulls{/number}","milestones_url":"https://api.github.com/repos/StackStorm/st2-packages/milestones{/number}","notifications_url":"https://api.github.com/repos/StackStorm/st2-packages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StackStorm/st2-packages/labels{/name}","releases_url":"https://api.github.com/repos/StackStorm/st2-packages/releases{/id}","deployments_url":"https://api.github.com/repos/StackStorm/st2-packages/deployments","created_at":"2015-06-26T13:20:51Z","updated_at":"2016-01-17T18:06:59Z","pushed_at":"2016-01-26T09:14:39Z","git_url":"git://github.com/StackStorm/st2-packages.git","ssh_url":"git@github.com:StackStorm/st2-packages.git","clone_url":"https://github.com/StackStorm/st2-packages.git","svn_url":"https://github.com/StackStorm/st2-packages","homepage":"https://stackstorm.com/","size":528,"stargazers_count":2,"watchers_count":2,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":25,"forks":6,"open_issues":25,"watchers":2,"default_branch":"master"}},"base":{"label":"StackStorm:master","ref":"master","sha":"31e6c13327bbffc69408af1cf1f0f82f0d1516f3","user":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"repo":{"id":38112294,"name":"st2-packages","full_name":"StackStorm/st2-packages","owner":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StackStorm/st2-packages","description":"StackStorm packages (automated docker build pipeline)","fork":false,"url":"https://api.github.com/repos/StackStorm/st2-packages","forks_url":"https://api.github.com/repos/StackStorm/st2-packages/forks","keys_url":"https://api.github.com/repos/StackStorm/st2-packages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StackStorm/st2-packages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StackStorm/st2-packages/teams","hooks_url":"https://api.github.com/repos/StackStorm/st2-packages/hooks","issue_events_url":"https://api.github.com/repos/StackStorm/st2-packages/issues/events{/number}","events_url":"https://api.github.com/repos/StackStorm/st2-packages/events","assignees_url":"https://api.github.com/repos/StackStorm/st2-packages/assignees{/user}","branches_url":"https://api.github.com/repos/StackStorm/st2-packages/branches{/branch}","tags_url":"https://api.github.com/repos/StackStorm/st2-packages/tags","blobs_url":"https://api.github.com/repos/StackStorm/st2-packages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StackStorm/st2-packages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StackStorm/st2-packages/git/refs{/sha}","trees_url":"https://api.github.com/repos/StackStorm/st2-packages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StackStorm/st2-packages/statuses/{sha}","languages_url":"https://api.github.com/repos/StackStorm/st2-packages/languages","stargazers_url":"https://api.github.com/repos/StackStorm/st2-packages/stargazers","contributors_url":"https://api.github.com/repos/StackStorm/st2-packages/contributors","subscribers_url":"https://api.github.com/repos/StackStorm/st2-packages/subscribers","subscription_url":"https://api.github.com/repos/StackStorm/st2-packages/subscription","commits_url":"https://api.github.com/repos/StackStorm/st2-packages/commits{/sha}","git_commits_url":"https://api.github.com/repos/StackStorm/st2-packages/git/commits{/sha}","comments_url":"https://api.github.com/repos/StackStorm/st2-packages/comments{/number}","issue_comment_url":"https://api.github.com/repos/StackStorm/st2-packages/issues/comments{/number}","contents_url":"https://api.github.com/repos/StackStorm/st2-packages/contents/{+path}","compare_url":"https://api.github.com/repos/StackStorm/st2-packages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StackStorm/st2-packages/merges","archive_url":"https://api.github.com/repos/StackStorm/st2-packages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StackStorm/st2-packages/downloads","issues_url":"https://api.github.com/repos/StackStorm/st2-packages/issues{/number}","pulls_url":"https://api.github.com/repos/StackStorm/st2-packages/pulls{/number}","milestones_url":"https://api.github.com/repos/StackStorm/st2-packages/milestones{/number}","notifications_url":"https://api.github.com/repos/StackStorm/st2-packages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StackStorm/st2-packages/labels{/name}","releases_url":"https://api.github.com/repos/StackStorm/st2-packages/releases{/id}","deployments_url":"https://api.github.com/repos/StackStorm/st2-packages/deployments","created_at":"2015-06-26T13:20:51Z","updated_at":"2016-01-17T18:06:59Z","pushed_at":"2016-01-26T09:14:39Z","git_url":"git://github.com/StackStorm/st2-packages.git","ssh_url":"git@github.com:StackStorm/st2-packages.git","clone_url":"https://github.com/StackStorm/st2-packages.git","svn_url":"https://github.com/StackStorm/st2-packages","homepage":"https://stackstorm.com/","size":528,"stargazers_count":2,"watchers_count":2,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":25,"forks":6,"open_issues":25,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/StackStorm/st2-packages/pulls/100"},"html":{"href":"https://github.com/StackStorm/st2-packages/pull/100"},"issue":{"href":"https://api.github.com/repos/StackStorm/st2-packages/issues/100"},"comments":{"href":"https://api.github.com/repos/StackStorm/st2-packages/issues/100/comments"},"review_comments":{"href":"https://api.github.com/repos/StackStorm/st2-packages/pulls/100/comments"},"review_comment":{"href":"https://api.github.com/repos/StackStorm/st2-packages/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/StackStorm/st2-packages/pulls/100/commits"},"statuses":{"href":"https://api.github.com/repos/StackStorm/st2-packages/statuses/8b0f17ce4b482da7724969149bd1947ac7aff595"}}}}