summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2018-07-17 00:02:06 +0200
committerSebastian Reichel <sre@ring0.de>2018-07-17 14:02:24 +0200
commit013729dafb19579ec14848cd6c2752dc3afcb2f2 (patch)
treeef9a2ee0a76d206e465acb288a63bd54be1e35af /data
parent2d8ebfd2e90411155df1bd834c44ba6c48206f94 (diff)
downloadserial-barcode-scanner-013729dafb19579ec14848cd6c2752dc3afcb2f2.tar.bz2
shopsystem-ui.service: setup console font
Diffstat (limited to 'data')
-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