summarylogtreecommitdiffstats
path: root/vtunerc@.service
diff options
context:
space:
mode:
authorTomasz Maciej Nowak2016-01-10 22:40:07 +0100
committerTomasz Maciej Nowak2016-01-10 22:40:07 +0100
commit60f842531b8444eafd12d689fc7944f0a953b66b (patch)
tree132ae977f3507469f1d0fd5a981745f645060eb0 /vtunerc@.service
downloadaur-60f842531b8444eafd12d689fc7944f0a953b66b.tar.gz
Initial commit
Diffstat (limited to 'vtunerc@.service')
-rw-r--r--vtunerc@.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/vtunerc@.service b/vtunerc@.service
new file mode 100644
index 00000000000..6a9738aa75b
--- /dev/null
+++ b/vtunerc@.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=vtuner client
+After=network.target
+After=vtunerd.service
+After=oscam.service
+Before=vdr.service
+
+[Service]
+Type=simple
+EnvironmentFile=/etc/conf.d/vtunerc%i
+ExecStartPre=/usr/lib/systemd/scripts/vtunerc-driver_kmod load
+ExecStart=/usr/bin/vtunerc -d/dev/vtunerc%i $CLIENT_ARGS
+ExecStopPost=/usr/bin/rm /run/vtunerc%i.pid
+ExecStopPost=/usr/lib/systemd/scripts/vtunerc-driver_kmod unload
+
+[Install]
+WantedBy=multi-user.target