{"action":"closed","issue":{"url":"https://api.github.com/repos/morpheus65535/bazarr/issues/220","repository_url":"https://api.github.com/repos/morpheus65535/bazarr","labels_url":"https://api.github.com/repos/morpheus65535/bazarr/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/morpheus65535/bazarr/issues/220/comments","events_url":"https://api.github.com/repos/morpheus65535/bazarr/issues/220/events","html_url":"https://github.com/morpheus65535/bazarr/issues/220","id":378796460,"node_id":"MDU6SXNzdWUzNzg3OTY0NjA=","number":220,"title":"linux upstart file in wiki","user":{"login":"petrichor8","id":247601,"node_id":"MDQ6VXNlcjI0NzYwMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/247601?v=4","gravatar_id":"","url":"https://api.github.com/users/petrichor8","html_url":"https://github.com/petrichor8","followers_url":"https://api.github.com/users/petrichor8/followers","following_url":"https://api.github.com/users/petrichor8/following{/other_user}","gists_url":"https://api.github.com/users/petrichor8/gists{/gist_id}","starred_url":"https://api.github.com/users/petrichor8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrichor8/subscriptions","organizations_url":"https://api.github.com/users/petrichor8/orgs","repos_url":"https://api.github.com/users/petrichor8/repos","events_url":"https://api.github.com/users/petrichor8/events{/privacy}","received_events_url":"https://api.github.com/users/petrichor8/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-11-08T15:56:56Z","updated_at":"2018-11-08T18:51:31Z","closed_at":"2018-11-08T18:51:31Z","author_association":"NONE","body":"Here's the contents of the Upstart file I made for Debian/Ubuntu.\r\n\r\nThis is an init upstart file. It assumes you've installed Bazarr in: \r\n`/opt/bazarr`\r\n\r\nYou have to create a `bazarr.conf` file in `/etc/init/` (`sudo nano /etc/init/bazarr.conf`) that would contain the following text:\r\n\r\n    description \"Upstart Script to run Bazarr as a service on Ubuntu/Debian based systems, as well as others\"\r\n    author \"A Bazarr User\"\r\n    \r\n    #uncomment this line to use with UTF-8 OS\r\n    #env LANG=en_US.UTF-8\r\n\r\n    #Set user and group for the process if desired\r\n    #setuid myUserID\r\n    #setgid myGroupID\r\n    \r\n    #start after all services come up\r\n    start on runlevel [2345]\r\n    stop on runlevel [016]\r\n    \r\n    # Automatically restart process if crashed\r\n    respawn\r\n    \r\n    #run startup file\r\n    exec python /opt/bazarr/bazarr.py\r\n    \r\nTested on linux mint 17.2 XFCE (Ubuntu 14.04) / python 2.7.12"}}
{"actor":{"display_login":"morpheus65535"}}