From 0738894e8a068c751e0fdf3777c53bfea6053ee0 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 24 Feb 2022 16:06:34 -0500 Subject: [PATCH] Update podman_ha_setup.sh --- setup/podman_ha_setup.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup/podman_ha_setup.sh b/setup/podman_ha_setup.sh index 2d780292..419252f5 100644 --- a/setup/podman_ha_setup.sh +++ b/setup/podman_ha_setup.sh @@ -123,10 +123,16 @@ 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 +podman generate systemd \ + --new --name yacht \ + > /etc/systemd/system/yacht.service +systemctl enable yacht &>/dev/null + echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m" rm -rf /podman_ha_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*