summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--systemd/shopsystem-ui.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/systemd/shopsystem-ui.service b/systemd/shopsystem-ui.service
index 72a5e86..9641d16 100644
--- a/systemd/shopsystem-ui.service
+++ b/systemd/shopsystem-ui.service
@@ -9,6 +9,9 @@ ExecStart=/home/shop/serial-barcode-scanner/src/curses-ui/curses-ui
StandardInput=tty
StandardOutput=tty
TTYPath=/dev/tty3
+TTYReset=yes
+TTYVHangup=yes
+TTYVTDisallocate=yes
[Install]
WantedBy=multi-user.target