From 7b818bb7c8afd26c3ff6af846f30be728daf8dfd Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 17 Jan 2022 14:01:39 -0500 Subject: [PATCH] Update podman_ha_setup.sh --- podman_ha_setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/podman_ha_setup.sh b/podman_ha_setup.sh index 5cde58f8..66a70e08 100644 --- a/podman_ha_setup.sh +++ b/podman_ha_setup.sh @@ -68,6 +68,10 @@ ExecStart=-/sbin/agetty --autologin root --noclear --keep-baud tty%I 115200,3840 EOF systemctl daemon-reload systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') +podman generate systemd \ + --new --name homeassistant \ + > /etc/systemd/system/homeassistant.service +systemctl enable homeassistant &>/dev/null echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m" rm -rf /podman_ha_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*