summaryrefslogtreecommitdiffstats
path: root/data/systemd/shopsystem-ui.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'data/systemd/shopsystem-ui.service.in')
-rw-r--r--data/systemd/shopsystem-ui.service.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/data/systemd/shopsystem-ui.service.in b/data/systemd/shopsystem-ui.service.in
new file mode 100644
index 0000000..c4bd3a7
--- /dev/null
+++ b/data/systemd/shopsystem-ui.service.in
@@ -0,0 +1,17 @@
+[Unit]
+Description=Shop System UI
+
+[Service]
+User=shop
+Group=shop
+Type=simple
+ExecStart=@PATH@/shop-curses-ui
+StandardInput=tty
+StandardOutput=tty
+TTYPath=/dev/tty3
+TTYReset=yes
+TTYVHangup=yes
+TTYVTDisallocate=yes
+
+[Install]
+WantedBy=multi-user.target