diff options
Diffstat (limited to 'data/systemd/shopsystem-ui.service.in')
-rw-r--r-- | data/systemd/shopsystem-ui.service.in | 19 |
1 files changed, 19 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..4d2bfe7 --- /dev/null +++ b/data/systemd/shopsystem-ui.service.in @@ -0,0 +1,19 @@ +[Unit] +Description=Shop System UI + +[Service] +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/tty7 +TTYReset=yes +TTYVHangup=yes +TTYVTDisallocate=yes + +[Install] +WantedBy=multi-user.target |