mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-25 14:31:56 +00:00
Update homeassistant-core-v5-install.sh
Pre-Initialize
This commit is contained in:
parent
f8b11c9fa4
commit
ee99360c80
@ -146,6 +146,7 @@ $STD python3 -m pip install wheel
|
|||||||
$STD pip install mysqlclient
|
$STD pip install mysqlclient
|
||||||
$STD pip install psycopg2-binary
|
$STD pip install psycopg2-binary
|
||||||
$STD pip install homeassistant
|
$STD pip install homeassistant
|
||||||
|
mkdir -p /root/.homeassistant
|
||||||
msg_ok "Installed Home Assistant-Core"
|
msg_ok "Installed Home Assistant-Core"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
@ -161,7 +162,7 @@ RestartForceExitStatus=100
|
|||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
$STD systemctl enable homeassistant
|
$STD systemctl enable --now homeassistant
|
||||||
msg_ok "Created Service"
|
msg_ok "Created Service"
|
||||||
|
|
||||||
PASS=$(grep -w "root" /etc/shadow | cut -b6)
|
PASS=$(grep -w "root" /etc/shadow | cut -b6)
|
||||||
|
Loading…
Reference in New Issue
Block a user