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

View File

@ -110,6 +110,16 @@ systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
msg_ok "Customized Container" msg_ok "Customized Container"
fi 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" msg_info "Cleaning up"
apt-get autoremove >/dev/null apt-get autoremove >/dev/null
apt-get autoclean >/dev/null apt-get autoclean >/dev/null