Update podman-homeassistant-install.sh

This commit is contained in:
tteckster 2022-04-17 18:37:19 -04:00 committed by GitHub
parent 5b4b6fc1bf
commit d3bc246994
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -110,6 +110,16 @@ systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
msg_ok "Customized Container"
fi
podman generate systemd \
--new --name homeassistant \
> /etc/systemd/system/homeassistant.service
systemctl enable homeassistant &>/dev/null
podman generate systemd \
--new --name yacht \
> /etc/systemd/system/yacht.service
systemctl enable yacht &>/dev/null
msg_info "Cleaning up"
apt-get autoremove >/dev/null
apt-get autoclean >/dev/null