File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,13 @@ $ cd /volume1/@appstore/py3k/usr/local/bin
40
40
Install PIP (Python's package management system)
41
41
42
42
``` bash
43
- $ python -m ensurepip
43
+ $ ./python3 -m ensurepip
44
44
```
45
45
46
46
Use PIP to install Homeassistant package
47
47
48
48
``` bash
49
- $ pip3 install homeassistant
49
+ $ ./python3 pip install homeassistant
50
50
```
51
51
52
52
Create homeassistant config directory & switch to it
@@ -77,7 +77,7 @@ REDIRECT="> $INSTALL_DIR/home-assistant.log 2>&1"
77
77
78
78
start_daemon ()
79
79
{
80
- su ${USER} -s /bin/sh -c " $PYTHON $HASS $FLAGS $REDIRECT ;"
80
+ sudo -u ${USER} /bin/sh -c " $PYTHON $HASS $FLAGS $REDIRECT ;"
81
81
}
82
82
83
83
stop_daemon ()
@@ -204,25 +204,25 @@ Here are some useful commands:
204
204
- Start Home Assistant:
205
205
206
206
``` bash
207
- $ sh hass-daemon start
207
+ $ sudo /volume1/homeassistant/ hass-daemon start
208
208
```
209
209
210
210
- Stop Home Assistant:
211
211
212
212
``` bash
213
- $ sh hass-daemon stop
213
+ $ sudo /volume1/homeassistant/ hass-daemon stop
214
214
```
215
215
216
216
- Restart Home Assistant:
217
217
218
218
``` bash
219
- $ sh hass-daemon restart
219
+ $ sudo /volume1/homeassistant/ hass-daemon restart
220
220
```
221
221
222
222
- Upgrade Home Assistant::
223
223
224
224
``` bash
225
- $ python3 -m pip install --upgrade homeassistant
225
+ $ /volume1/@appstore/py3k/usr/local/bin/ python3 -m pip install --upgrade homeassistant
226
226
```
227
227
228
228
### {% linkable_title Troubleshooting %}
You can’t perform that action at this time.
0 commit comments