summaryrefslogtreecommitdiffstats
path: root/systemd/shopsystem-web.service
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2017-04-18 22:07:01 +0200
committerSebastian Reichel <sre@ring0.de>2017-04-18 22:08:34 +0200
commit529d6dd34f9209efef18c04121075be9ac310c9c (patch)
tree7c131fa440df3805348930f5cfa204fd4316550e /systemd/shopsystem-web.service
parenta211b960a7590910b46c1d59acaeda5e87b5b522 (diff)
downloadserial-barcode-scanner-529d6dd34f9209efef18c04121075be9ac310c9c.tar.bz2
add systemd files
Diffstat (limited to 'systemd/shopsystem-web.service')
-rw-r--r--systemd/shopsystem-web.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/systemd/shopsystem-web.service b/systemd/shopsystem-web.service
new file mode 100644
index 0000000..f29cfd4
--- /dev/null
+++ b/systemd/shopsystem-web.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Shop System Web Interface
+Requires=shopsystem-dbus.service
+After=shopsystem-dbus.service
+
+[Service]
+User=shop
+Group=shop
+Type=simple
+ExecStart=/home/shop/serial-barcode-scanner/src/web/web
+StandardInput=null
+StandardOutput=journal
+
+[Install]
+WantedBy=multi-user.target