summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2017-10-03 20:33:28 +0200
committerSebastian Reichel <sre@ring0.de>2017-10-03 20:33:28 +0200
commit4bc575644893f86eccb00be8dfcf5f8458710507 (patch)
treeeafff84648e62843adaaee22c4c098d41595c121
parent0c9494d2c6e3e6099178d76100bcaada63ad74d1 (diff)
downloadserial-barcode-scanner-4bc575644893f86eccb00be8dfcf5f8458710507.tar.bz2
shopsystem-ui: improve UI service file
-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