Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 261323 Details for
Bug 353492
media-tv/gentoo-vdr-scripts: add systemd unit
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
VDR unit (service file) for systemd
vdr.service (text/plain), 1.32 KB, created by
Lucian Muresan
on 2011-02-02 09:10:39 UTC
(
hide
)
Description:
VDR unit (service file) for systemd
Filename:
MIME Type:
Creator:
Lucian Muresan
Created:
2011-02-02 09:10:39 UTC
Size:
1.32 KB
patch
obsolete
># Copyright 2011 Lucian Muresan <lucianm AT users DOT sourceforge DOT net> ># Distributed under the terms of the GNU General Public License v2 > > >[Unit] >Description=Video Disk Recorder Daemon >After=lircd.service >Requires=alsasound.service >Requires=udev.service >DefaultDependencies=no > > > >[Service] ># this will collect the parameters and set them into ># the VDR_OPTS variable in the EnvironmentFile, but also ># run the whole addons/plugins scripts required before starting ># VDR as it's also usually done with OpenRC >ExecStartPre=/etc/systemd/scripts/vdr_helper.sh --start-pre > ># this is where we get our parameters (still manageable ># in the /etc/conf.d/vdr.* files >EnvironmentFile=/var/vdr/tmp/cmd_params > ># start VDR with our desired parameters, please disable the ># internal watchdog by setting the timeout to 0 >ExecStart=/usr/bin/vdr $VDR_OPTS > ># execute addons/plugins scripts meant to be run afer starting >ExecStartPost=/etc/systemd/scripts/vdr_helper.sh --start-post > ># execute addons/plugins scripts meant to be run before stopping >ExecStop=/etc/systemd/scripts/vdr_helper.sh --stop-pre > ># terminate VDR ... hmm, seems not to be needed, systemd does it anyway ># ExecStop=/usr/bin/killall -9 /usr/bin/vdr > ># execute final scripts >ExecStopPost=/etc/systemd/scripts/vdr_helper.sh --stop-post > >Restart=always > > > > >[Install] >WantedBy=multi-user.target
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 353492
:
261323
|
261324
|
366914
|
366916
|
366918
|
366920
|
367092
|
367094
|
367096
|
367100
|
367130
|
367238
|
386020
|
386990