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.
This commit is contained in:
Stefan Agner
2021-06-05 15:17:14 +02:00
committed by GitHub
parent 5c8a0307fb
commit 622cbb806d

View File

@@ -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