From 622cbb806da6c59b59adfedc4506717f7f7c803e Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Sat, 5 Jun 2021 15:17:14 +0200 Subject: [PATCH] Restart console on tty1 on exit (#1387) (#1391) Since we start the HomeAssistant shell directly on tty the service responsible for starting did not restart the shell on exit. Remove the RemainAfterExit flag to make sure that the shell restarts on exit. --- .../rootfs-overlay/usr/lib/systemd/system/ha-cli@.service | 1 - 1 file changed, 1 deletion(-) diff --git a/buildroot-external/rootfs-overlay/usr/lib/systemd/system/ha-cli@.service b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/ha-cli@.service index f5ada5e72..431851f55 100644 --- a/buildroot-external/rootfs-overlay/usr/lib/systemd/system/ha-cli@.service +++ b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/ha-cli@.service @@ -22,7 +22,6 @@ Before=rescue.service # option to preserve environment (-p), followed by '--' for safety, and then # the entered username. ExecStart=/usr/sbin/hassos-cli -RemainAfterExit=yes Type=idle Restart=always RestartSec=0