summarylogtreecommitdiffstats
path: root/vtunerc@.service
blob: 6a9738aa75b2c1940630421438fa97186e7daee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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