mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
My own notes from running it was wrong (#10799)
Verified full procedure from start to finish is working, tested three times in a freenas jail
This commit is contained in:
parent
3f97279997
commit
40edfd7d9d
@ -25,13 +25,6 @@ pip3 install --upgrade pip
|
|||||||
pip3 install --upgrade virtualenv
|
pip3 install --upgrade virtualenv
|
||||||
```
|
```
|
||||||
|
|
||||||
Create the configuration directory:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
mkdir -p /usr/local/homeassistant
|
|
||||||
chown -R homeassistant:homeassistant /usr/local/homeassistant
|
|
||||||
```
|
|
||||||
|
|
||||||
Create the installation directory:
|
Create the installation directory:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -100,7 +93,7 @@ vi /usr/local/etc/rc.d/homeassistant
|
|||||||
# empty string as this will cause the daemon to run with group wheel.
|
# empty string as this will cause the daemon to run with group wheel.
|
||||||
# Default: homeassistant
|
# Default: homeassistant
|
||||||
# homeassistant_config_dir: Directory where config files are located.
|
# homeassistant_config_dir: Directory where config files are located.
|
||||||
# Default: /usr/home/homeassistant/.homeassistant
|
# Default: /home/homeassistant/.homeassistant
|
||||||
# homeassistant_install_dir: Directory where Home Assistant is installed.
|
# homeassistant_install_dir: Directory where Home Assistant is installed.
|
||||||
# Default: /usr/local/share/homeassistant
|
# Default: /usr/local/share/homeassistant
|
||||||
#
|
#
|
||||||
@ -118,7 +111,7 @@ load_rc_config ${name}
|
|||||||
: ${homeassistant_enable:="NO"}
|
: ${homeassistant_enable:="NO"}
|
||||||
: ${homeassistant_user:="homeassistant"}
|
: ${homeassistant_user:="homeassistant"}
|
||||||
: ${homeassistant_group:="homeassistant"}
|
: ${homeassistant_group:="homeassistant"}
|
||||||
: ${homeassistant_config_dir:="/usr/home/homeassistant/.homeassistant"}
|
: ${homeassistant_config_dir:="/home/homeassistant/.homeassistant"}
|
||||||
: ${homeassistant_install_dir:="/usr/local/share/homeassistant"}
|
: ${homeassistant_install_dir:="/usr/local/share/homeassistant"}
|
||||||
|
|
||||||
command="/usr/sbin/daemon"
|
command="/usr/sbin/daemon"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user