summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--data/systemd/shopsystem-ui.service.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/systemd/shopsystem-ui.service.in b/data/systemd/shopsystem-ui.service.in
index c4bd3a7..4d2bfe7 100644
--- a/data/systemd/shopsystem-ui.service.in
+++ b/data/systemd/shopsystem-ui.service.in
@@ -6,9 +6,11 @@ User=shop
Group=shop
Type=simple
ExecStart=@PATH@/shop-curses-ui
+ExecStartPre=/bin/chvt 7
+ExecStartPre=/bin/setupcon --current-tty --font-only
StandardInput=tty
StandardOutput=tty
-TTYPath=/dev/tty3
+TTYPath=/dev/tty7
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes