diff options
author | 2005-05-14 17:10:03 +0000 | |
---|---|---|
committer | 2005-05-14 17:10:03 +0000 | |
commit | 14991f840601e9707ca3533e18e2a4bb0317ca3f (patch) | |
tree | 7fbf0bca59197b07c5a1124d6f42eb13c024cf12 /media-tv/mythtv | |
parent | Version bump, bug #92590. (diff) | |
download | historical-14991f840601e9707ca3533e18e2a4bb0317ca3f.tar.gz historical-14991f840601e9707ca3533e18e2a4bb0317ca3f.tar.bz2 historical-14991f840601e9707ca3533e18e2a4bb0317ca3f.zip |
fixed init scripts
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'media-tv/mythtv')
-rw-r--r-- | media-tv/mythtv/ChangeLog | 6 | ||||
-rw-r--r-- | media-tv/mythtv/Manifest | 12 | ||||
-rw-r--r-- | media-tv/mythtv/files/0.18-mythbackend.conf | 11 | ||||
-rw-r--r-- | media-tv/mythtv/files/0.18-mythbackend.rc | 17 |
4 files changed, 18 insertions, 28 deletions
diff --git a/media-tv/mythtv/ChangeLog b/media-tv/mythtv/ChangeLog index a19b5c1ad192..54b03c4ece15 100644 --- a/media-tv/mythtv/ChangeLog +++ b/media-tv/mythtv/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-tv/mythtv # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.54 2005/05/11 20:16:42 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.55 2005/05/14 17:10:03 cardoe Exp $ + + 14 May 2005; Doug Goldstein <cardoe@gentoo.org> + files/0.18-mythbackend.conf, files/0.18-mythbackend.rc: + Fixed up init scripts *mythtv-0.18-r1 (11 May 2005) diff --git a/media-tv/mythtv/Manifest b/media-tv/mythtv/Manifest index c942aedb782a..16f9ca6b7c93 100644 --- a/media-tv/mythtv/Manifest +++ b/media-tv/mythtv/Manifest @@ -1,7 +1,7 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 ad503120fba8988a0e8aa87e0ed3f876 ChangeLog 10652 +MD5 7ce7dfcd7f33b859d45f9d30792193a8 ChangeLog 10785 MD5 f62db0df6ee8ee1d4fe7b9c3d74432a7 metadata.xml 222 MD5 2fa8416fc9cfa49edcdc9558f1e8ad48 mythtv-0.16.ebuild 5817 MD5 d031942485bf1c04b7b66ea1cbe191fb mythtv-0.17-r1.ebuild 7329 @@ -16,12 +16,12 @@ MD5 b3a4780890d53640604812b8069a8297 files/mythfilldatabase.cron 74 MD5 8d46f5508de5d412db9e4a757db00e26 files/mythtv-0.16-cx88.patch 674 MD5 bcfd584bc73afea9d88c8afe7d47f5be files/mythtv-0.17-qt334-dst-fix.patch 5663 MD5 67c40a05f5751719f170820c4d50c9c6 files/digest-mythtv-0.18-r1 65 -MD5 69529caf9bcd614caadcfbdb274fccfd files/0.18-mythbackend.rc 1813 -MD5 ba381c4010bd75f48666918420710fe4 files/0.18-mythbackend.conf 1191 +MD5 28edf0cbd31622983da735f7d599afd5 files/0.18-mythbackend.rc 1532 +MD5 4985a61b90909b7f1c926f79a3ba34bf files/0.18-mythbackend.conf 931 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFCgmhGBtvusYtCZMsRAi+oAJ0SgGnljyr0K8+HL5RcuCF/X99x+QCePXJN -OtUeztAlM+IHxDWV3cPSHTo= -=/BW1 +iD8DBQFChjECBtvusYtCZMsRAuysAJ0aQDJLfOjUNVpwIeFBjfsU9VDc6QCeI04R +19TDnYhzQsmE3JuwcU3C3CI= +=vbjd -----END PGP SIGNATURE----- diff --git a/media-tv/mythtv/files/0.18-mythbackend.conf b/media-tv/mythtv/files/0.18-mythbackend.conf index 6d0f6815af8d..e26538bb27ac 100644 --- a/media-tv/mythtv/files/0.18-mythbackend.conf +++ b/media-tv/mythtv/files/0.18-mythbackend.conf @@ -1,9 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/0.18-mythbackend.conf,v 1.1 2005/05/11 20:16:42 cardoe Exp $ - -# Uncomment this to disable the permission warnings. -MYTH_WARN=yes +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/0.18-mythbackend.conf,v 1.2 2005/05/14 17:10:03 cardoe Exp $ # Specify which user to run as # @@ -16,12 +13,6 @@ MYTH_WARN=yes # audio and video groups. MYTH_USER=root -# Specify which file to use for the backend log. -#MYTH_LOG=/var/log/mythtv/mythbackend.log - -# Specify in which file to store the backend process id. -#MYTH_PID=/var/run/mythtv/mythbackend.pid - # Specify debug-level in log. # Accepts any combination (separated by comma) of: # all,none,quiet,record,playback,channel,osd,file, diff --git a/media-tv/mythtv/files/0.18-mythbackend.rc b/media-tv/mythtv/files/0.18-mythbackend.rc index 97aaf0a181c8..b745146b5b97 100644 --- a/media-tv/mythtv/files/0.18-mythbackend.rc +++ b/media-tv/mythtv/files/0.18-mythbackend.rc @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/0.18-mythbackend.rc,v 1.1 2005/05/11 20:16:42 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/0.18-mythbackend.rc,v 1.2 2005/05/14 17:10:03 cardoe Exp $ depend() { need net @@ -28,32 +28,27 @@ checkconfig() { } start() { + checkconfig [[ -z "${MYTH_USER}" ]] && MYTH_USER="nobody:nobody" - [[ -z "${MYTH_LOG}" ]] && MYTH_LOG="/var/log/mythtv/mythbackend.log" - [[ -z "${MYTH_PID}" ]] && MYTH_PID="/var/run/mythbackend.pid" - [[ -z "${MYTH_WARN}" || "${MYTH_WARN}" == "yes" ]] && checkconfig [[ -z "${MYTH_NICE}" ]] && MYTH_NICE="0" [[ -z "${MYTH_VERBOSE}" ]] && MYTH_VERBOSE="none" - HOME="$(dirname "${MYTH_PID}")" + HOME="/var/log/mythtv/" QTDIR=/usr/qt/3 # Work around any strange permissions that may be on these files. - chown -R "${MYTH_USER}" "$(dirname "${MYTH_LOG}")" - chown -R "${MYTH_USER}" "$(dirname "${MYTH_PID}")" + chown -R "${MYTH_USER}" /var/log/mythtv/ ebegin "Starting myth backend" start-stop-daemon --start --quiet --chuid "${MYTH_USER}" \ --exec /usr/bin/mythbackend --nicelevel "${MYTH_NICE}" -- \ - --daemon --pidfile "${MYTH_PID}" --logfile "${MYTH_LOG}" \ + --daemon --pidfile /var/run/mythbackend.pid --logfile /var/log/mythtv/mythbackend.log \ --verbose ${MYTH_VERBOSE} eend $? } stop () { - [[ -z "${MYTH_PID}" ]] && MYTH_PID="/var/run/mythbackend.pid" - ebegin "Stopping myth backend" - start-stop-daemon --stop --quiet --pidfile="${MYTH_PID}" + start-stop-daemon --stop --quiet --pidfile=/var/run/mythbackend.pid eend $? } |