27 Jun 2012 11:48
Please share your systemd (Upstart) service file
Paul Menzel <paulepanter <at> users.sourceforge.net>
2012-06-27 09:48:34 GMT
2012-06-27 09:48:34 GMT
Dear VDR folks,
looking around for systemd service files I found three examples. One
from OpenBricks [1],
[Unit]
Description=Video Disk Recorder
After=lircd.service pvr.service
ConditionPathExists=/run/geexbox/pvr/vdr
[Service]
ExecStart=/usr/bin/runvdr
Restart=always
[Install]
WantedBy=multi-user.target
one from a VDR-Portal forum post [2]
[Unit]
Description=Video Disk Recorder
After=lircd.service
[Service]
ExecStart=/usr/local/src/VDR/vdr --lirc=/run/lirc/lircd -s /usr/local/bin/vdr-shutdown.sh -v
/var/lib/vdr/video -w 90 -Plive -Pstreamdev-server -P 'epgsearch
--config=/etc/vdr/plugins/epgsearch' -P 'xineliboutput --local=none --remote=37890'
ExecStartPost=/usr/local/bin/svdrpsend.pl remo off
Restart=on-failure
(Continue reading)
doesn't care in what way a particular system boots
or starts its services.
The 'runvdr' script that comes with the VDR source is merely a suggestion
of how to create an environment in which VDR can be (re-)started.
Klaus
_______________________________________________
vdr mailing list
vdr <at> linuxtv.org
RSS Feed