diff options
author | 2016-04-16 07:52:24 -0400 | |
---|---|---|
committer | 2016-04-16 08:05:12 -0400 | |
commit | 514d063046bc52bbc3c99ba6ccaff5212a13603a (patch) | |
tree | 3affde6eb32c68786128c4ef9e38816419f0d0ca /media-tv/mythtv/files | |
parent | app-admin/packagekit-qt4 -> app-admin/packagekit-qt (diff) | |
download | gentoo-514d063046bc52bbc3c99ba6ccaff5212a13603a.tar.gz gentoo-514d063046bc52bbc3c99ba6ccaff5212a13603a.tar.bz2 gentoo-514d063046bc52bbc3c99ba6ccaff5212a13603a.zip |
media-tv/mythtv: Major release to 0.28
Package-Manager: portage-2.2.26
Diffstat (limited to 'media-tv/mythtv/files')
-rw-r--r-- | media-tv/mythtv/files/mythbackend.service-28 | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/media-tv/mythtv/files/mythbackend.service-28 b/media-tv/mythtv/files/mythbackend.service-28 new file mode 100644 index 000000000000..3ab4c9b19ded --- /dev/null +++ b/media-tv/mythtv/files/mythbackend.service-28 @@ -0,0 +1,66 @@ +# Do not edit this file, it will be replaced on update +# If you need to make modifications to this unit file first make a copy in # /etc/systemd/system + +# This file is part of the packaging of MythTV # +# MythTV is free software; view http://www.mythtv.org for more information. +# +# It is sometimes necessary to wait for a capture device to finish (hot)plug +# initialization before the backend starts. If this is necessary, +# create a Wants and After entry for all the capture devices that +# one wishes to wait to be created before the backend starts using the systemd +# device name mangling names (/dev/some/thing turns +# into dev-some-thing.device). These normally should be udev persistent +# filename rules to avoid confusion. +# See the MythTV wiki for udev persistent filename # discussions found at: +# http://www.mythtv.org/wiki/Device_Filenames_and_udev +# +# In order to insure that systemd will create a device unit for the +# capture device, one must insure that udev will have the tag "systemd" +# (i.e. add TAG+="systemd" to the udev rule). +# +# The MythTV package ships with a default udev rule file located in: +# /lib/udev/rules.d/99-mythbackend.rules + +[Unit] +Description=MythTV backend service +After=network.target mysqld.service +# Uncomment the following line if you will be using the mythweb plugin on the +# same system as mythbackend. +#Wants=httpd.service + +[Service] +Type=notify + +Environment=MYTHCONFDIR=/etc/mythtv +# Default setting assumes a system wide install. Otherwise it should be set to +# the folder containing the .mythtv subfolder containing the config.xml file +# Such as +#Environment=HOME=/usr/share/mythtv +# or +Environment=HOME=/~/.mythtv + +# systemd changes execution from the calling user (possibly root) to this user +# if you have permissions problems or obscure errors try logging in as mythtv +# See notes below +User=mythtv + +# Uncomment one of the following... +# Use sysloging rather than separate logging: +#ExecStart=/usr/bin/mythbackend --syslog local7 + +# If Type=forking you must specify the --daemon and --pidfile options: +#ExecStart=/usr/bin/mythbackend --daemon --logpath /var/log/mythtv --loglevel crit --pidfile /run/mythtv/mythbackend.pid +#PIDFILE=/run/mythtv/mythbackend.pid + +# Systemd sends stdout to syslog, and mythbackend has console logging enabled without --daemon. +# Send stdout to /dev/null so console logging doesn't go to syslog +#StandardOutput=null +# Default setting for Type=simple. +#ExecStart=/usr/bin/mythbackend --logpath /var/log/mythtv --loglevel crit +ExecStart=/usr/bin/mythbackend --loglevel notice + +# Whether systemd will continue over-watch and restart on any halt +Restart=always + +[Install] +WantedBy=multi-user.target |