{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/1867","labels_url":"https://api.github.com/repos/gogits/gogs/issues/1867/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/1867/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/1867/events","html_url":"https://github.com/gogits/gogs/issues/1867","id":114405165,"number":1867,"title":"Ubuntu upstart scripts","user":{"login":"stonerl","id":2091312,"avatar_url":"https://avatars.githubusercontent.com/u/2091312?v=3","gravatar_id":"","url":"https://api.github.com/users/stonerl","html_url":"https://github.com/stonerl","followers_url":"https://api.github.com/users/stonerl/followers","following_url":"https://api.github.com/users/stonerl/following{/other_user}","gists_url":"https://api.github.com/users/stonerl/gists{/gist_id}","starred_url":"https://api.github.com/users/stonerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stonerl/subscriptions","organizations_url":"https://api.github.com/users/stonerl/orgs","repos_url":"https://api.github.com/users/stonerl/repos","events_url":"https://api.github.com/users/stonerl/events{/privacy}","received_events_url":"https://api.github.com/users/stonerl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-31T11:32:14Z","updated_at":"2015-10-31T11:38:36Z","closed_at":null,"body":"Currently there are 3 upstart-scripts installed when using the package from packager.io\r\n\r\ngogs.conf\r\n```\r\nstart on started mysql\r\nstop on runlevel [06]\r\n```\r\ngogs-web.conf\r\n```\r\nstart on starting gogs\r\nstop on stopping gogs\r\n```\r\ngogs-web-1.conf\r\n```\r\nstart on starting gogs-web\r\nstop on stopping gogs-web\r\nrespawn\r\n\r\nenv PORT=6000\r\n\r\nexec gogs run web >> /var/log/gogs/web-1.log 2>&1\r\n```\r\n\r\nThese could all be in one file\r\n\r\n```\r\nstart on started mysql\r\nstop on runlevel [06]\r\nrespawn\r\n\r\nexec gogs run web >> /var/log/gogs/gogs-web.log 2>&1\r\n```\r\n\r\nalso the ```env PORT=6000``` is not needed."},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/152726166","html_url":"https://github.com/gogits/gogs/issues/1867#issuecomment-152726166","issue_url":"https://api.github.com/repos/gogits/gogs/issues/1867","id":152726166,"user":{"login":"tboerger","id":156964,"avatar_url":"https://avatars.githubusercontent.com/u/156964?v=3","gravatar_id":"","url":"https://api.github.com/users/tboerger","html_url":"https://github.com/tboerger","followers_url":"https://api.github.com/users/tboerger/followers","following_url":"https://api.github.com/users/tboerger/following{/other_user}","gists_url":"https://api.github.com/users/tboerger/gists{/gist_id}","starred_url":"https://api.github.com/users/tboerger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tboerger/subscriptions","organizations_url":"https://api.github.com/users/tboerger/orgs","repos_url":"https://api.github.com/users/tboerger/repos","events_url":"https://api.github.com/users/tboerger/events{/privacy}","received_events_url":"https://api.github.com/users/tboerger/received_events","type":"User","site_admin":false},"created_at":"2015-10-31T11:38:36Z","updated_at":"2015-10-31T11:38:36Z","body":"This could not work. Packager.io works with foreman, and this got the option to scale up the web workers, so the port is required and the different upstart files are intended, just look at https://github.com/ddollar/foreman.\r\n\r\nSo this is a won't fix."}}