From f7b3b06d30264fffb988c2eb26550d35327c7109 Mon Sep 17 00:00:00 2001 From: spinside Date: Wed, 14 Mar 2018 08:02:21 +0100 Subject: [PATCH] Updated SCL command to Python 3.6 instead of 3.5 (#4912) * Updated SCL command to Python 3.6 instead of 3.5 Instructions are for installing Python 3.6 but the scl command given assumes you have Python 3.5 * Updated autostart systemd template to use Python 3.6 --- source/_docs/installation/centos.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_docs/installation/centos.markdown b/source/_docs/installation/centos.markdown index 91d0bffd5b2..d1d29402a38 100644 --- a/source/_docs/installation/centos.markdown +++ b/source/_docs/installation/centos.markdown @@ -30,7 +30,7 @@ $ yum install rh-python36 Once installed, switch to your `homeassistant` user (if you've set one up), enable the software collection and check that it has set up the new version of Python: ```bash -$ scl enable rh-python35 bash +$ scl enable rh-python36 bash $ python --version Python 3.6.3 ``` @@ -55,7 +55,7 @@ User=homeassistant Environment=VIRTUAL_ENV="/srv/homeassistant" Environment=PATH="$VIRTUAL_ENV/bin:$PATH" # ExecStart using software collection: -ExecStart=/usr/bin/scl enable rh-python35 -- /srv/homeassistant/bin/hass -c "/home/homeassistant/.homeassistant" +ExecStart=/usr/bin/scl enable rh-python36 -- /srv/homeassistant/bin/hass -c "/home/homeassistant/.homeassistant" [Install] WantedBy=multi-user.target