{"action":"created","issue":{"url":"https://api.github.com/repos/vatesfr/xo/issues/43","labels_url":"https://api.github.com/repos/vatesfr/xo/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/vatesfr/xo/issues/43/comments","events_url":"https://api.github.com/repos/vatesfr/xo/issues/43/events","html_url":"https://github.com/vatesfr/xo/issues/43","id":67110096,"number":43,"title":"yaml file is not working in centos 6","user":{"login":"sjkeerthi","id":4696166,"avatar_url":"https://avatars.githubusercontent.com/u/4696166?v=3","gravatar_id":"","url":"https://api.github.com/users/sjkeerthi","html_url":"https://github.com/sjkeerthi","followers_url":"https://api.github.com/users/sjkeerthi/followers","following_url":"https://api.github.com/users/sjkeerthi/following{/other_user}","gists_url":"https://api.github.com/users/sjkeerthi/gists{/gist_id}","starred_url":"https://api.github.com/users/sjkeerthi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjkeerthi/subscriptions","organizations_url":"https://api.github.com/users/sjkeerthi/orgs","repos_url":"https://api.github.com/users/sjkeerthi/repos","events_url":"https://api.github.com/users/sjkeerthi/events{/privacy}","received_events_url":"https://api.github.com/users/sjkeerthi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-08T11:40:43Z","updated_at":"2015-04-08T17:50:50Z","closed_at":null,"body":"Hi \r\n\r\nToday I installed the xo-server and xo-web as per the document after installation I configured the config.yaml and changed the port 80 to 8080 but I could see  when I start the xo-server its not reading my configuration file its assigning it default port with 80.\r\n\r\nInstalled OS CentOS 6.5\r\nInstalled Path : /opt/xo/xo-server\r\nInstalled Path : /opt/xo/xo-server/xo-web\r\n\r\n```\r\n> ./bin/xo-server \r\n  xo:runner Loading CoffeeScript... +0ms\r\n  xo:runner Loading Babel (ES6 support)... +49ms\r\n  xo:runner Loading main module... +1s\r\n  xo:main Configuration loaded. +3s\r\n  xo:main Web server listening on http://[::]:80 +9ms\r\n  xo:main Setting up / → xo-server/xo-web/dist/ +623ms\r\n```\r\n\r\nconfig.yaml\r\n\r\n```\r\n# Example XO-Server configuration.\r\n\r\n# This file is automatically looking for at the following places:\r\n# - `./.xo-server.yaml` up to `/.xo-server.yaml`\r\n# - `$HOME/.config/xo-server/config.yaml`\r\n# - `/etc/xo-server/config.yaml`\r\n#\r\n# The first entries have priority.\r\n\r\n# Note: paths are relative to the configuration file.\r\n\r\n#=====================================================================\r\n\r\n# It may be necessary to run XO-Server as a privileged user (e.g.\r\n# `root`) for instance to allow the HTTP server to listen on a\r\n# [privileged ports](http://www.w3.org/Daemon/User/Installation/PrivilegedPorts.html).\r\n#\r\n# To avoid security issues, XO-Server can drop its privileges by\r\n# changing the user and the group is running with.\r\n#\r\n# Note: XO-Server will change them just after reading the\r\n# configuration.\r\n\r\n# User to run XO-Server as.\r\n#\r\n# Note: The user can be specified using either its name or its numeric\r\n# identifier.\r\n#\r\n# Default: undefined\r\n#user: 'nobody'\r\n\r\n# Group to run XO-Server as.\r\n#\r\n# Note: The group can be specified using either its name or its\r\n# numeric identifier.\r\n#\r\n# Default: undefined\r\n#group: 'nogroup'\r\n\r\n#=====================================================================\r\n\r\n# Configuration of the embedded HTTP server.\r\nhttp:\r\n\r\n  # Hosts & ports on which to listen.\r\n  #\r\n  # By default, the server listens on 0.0.0.0:80.\r\n  listen:\r\n    # Basic HTTP.\r\n    -\r\n      # Address on which the server is listening on.\r\n      #\r\n      # Sets it to '127.0.0.1' to listen only on the local host.\r\n      #\r\n      # Default: '0.0.0.0' (all addresses)\r\n      #hostname: '127.0.0.1'\r\n\r\n      # Port on which the server is listening on.\r\n      #\r\n      # Default: undefined\r\n      port:8080\r\n\r\n      # Instead of `host` and `port` a path to a UNIX socket may be\r\n      # specified (overrides `host` and `port`).\r\n      #\r\n      # Default: undefined\r\n      #socket: './http.sock'\r\n\r\n    # Basic HTTPS.\r\n    # -\r\n    #   # The only difference is the presence of the certificate and the\r\n    #   # key.\r\n\r\n    #   #hostname: '127.0.0.1'\r\n    #   port: 443\r\n\r\n    #   # File containing the certificate (PEM format).\r\n    #   #\r\n    #   # Default: undefined\r\n    #   certificate: './certificate.pem'\r\n\r\n    #   # File containing the private key (PEM format).\r\n    #   #\r\n    #   # If the key is encrypted, the passphrase will be asked at\r\n    #   # server startup.\r\n    #   #\r\n    #   # Default: undefined\r\n    #   key: './key.pem'\r\n\r\n  # List of files/directories which will be served.\r\n  mounts:\r\n    '/': 'xo-server/xo-web/dist/'\r\n\r\n#=====================================================================\r\n\r\n# Connection to the Redis server.\r\nredis:\r\n    # Syntax: tcp://[db[:password]@]hostname[:port]\r\n    #\r\n    # Default: tcp://localhost:6379\r\n    #uri: ''\r\n```"},"comment":{"url":"https://api.github.com/repos/vatesfr/xo/issues/comments/90986894","html_url":"https://github.com/vatesfr/xo/issues/43#issuecomment-90986894","issue_url":"https://api.github.com/repos/vatesfr/xo/issues/43","id":90986894,"user":{"login":"sjkeerthi","id":4696166,"avatar_url":"https://avatars.githubusercontent.com/u/4696166?v=3","gravatar_id":"","url":"https://api.github.com/users/sjkeerthi","html_url":"https://github.com/sjkeerthi","followers_url":"https://api.github.com/users/sjkeerthi/followers","following_url":"https://api.github.com/users/sjkeerthi/following{/other_user}","gists_url":"https://api.github.com/users/sjkeerthi/gists{/gist_id}","starred_url":"https://api.github.com/users/sjkeerthi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjkeerthi/subscriptions","organizations_url":"https://api.github.com/users/sjkeerthi/orgs","repos_url":"https://api.github.com/users/sjkeerthi/repos","events_url":"https://api.github.com/users/sjkeerthi/events{/privacy}","received_events_url":"https://api.github.com/users/sjkeerthi/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T17:50:50Z","updated_at":"2015-04-08T17:50:50Z","body":"No its on /opt/xo/xo-server\n\nOn Wed, Apr 8, 2015 at 5:14 PM, Olivier Lambert <notifications@github.com>\nwrote:\n\n> Hi,\n>\n> Where is your config file? Can you put it in /etc/xo-server/config.yaml?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/vatesfr/xo/issues/43#issuecomment-90889197>.\n>\n"}}