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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,6 @@ Before=rescue.service
# option to preserve environment (-p), followed by '--' for safety, and then # option to preserve environment (-p), followed by '--' for safety, and then
# the entered username. # the entered username.
ExecStart=/usr/sbin/hassos-cli ExecStart=/usr/sbin/hassos-cli
RemainAfterExit=yes
Type=idle Type=idle
Restart=always Restart=always
RestartSec=0 RestartSec=0