summarylogtreecommitdiffstats
path: root/uhub.service
diff options
context:
space:
mode:
authorsl1pkn072015-06-08 20:20:30 +0200
committersl1pkn072015-06-08 20:20:30 +0200
commite60ab17017d329d328c5af7e997ff57ae672d1a6 (patch)
treec6b6bc3fcecd1b2364c0c1771aae01722fd0f74b /uhub.service
downloadaur-e60ab17017d329d328c5af7e997ff57ae672d1a6.tar.gz
Initial commit
Diffstat (limited to 'uhub.service')
-rw-r--r--uhub.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/uhub.service b/uhub.service
new file mode 100644
index 000000000000..24d922d88329
--- /dev/null
+++ b/uhub.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=uHub ADC hub Server
+Documentation=man:uhub(1)
+After=network.target
+
+[Service]
+Type=simple
+User=uhub
+ExecStart=/usr/bin/uhub -p /run/uhub/uhub.pid
+ExecReload=/usr/bin/uhub -C ; \
+ /bin/kill -HUP $MAINPID
+StandardError=journal
+
+[Install]
+WantedBy=multi-user.target
+