aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-07-06 16:11:45 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2008-07-06 16:11:45 +0000
commitaf1e8ad5c56ef110d3d3d740eeefd5a52d02d505 (patch)
tree6632d821c41d1370fd4304a158dc755d17a5000f
parentRun post-start addons also when vdr did not start. This will print syslog out... (diff)
downloadgentoo-vdr-scripts-af1e8ad5c56ef110d3d3d740eeefd5a52d02d505.tar.gz
gentoo-vdr-scripts-af1e8ad5c56ef110d3d3d740eeefd5a52d02d505.tar.bz2
gentoo-vdr-scripts-af1e8ad5c56ef110d3d3d740eeefd5a52d02d505.zip
Changed message about died vdr process.
svn path=/gentoo-vdr-scripts/trunk/; revision=631
-rw-r--r--ChangeLog4
-rwxr-xr-xetc/init.d/vdr2
-rwxr-xr-xusr/sbin/vdr-watchdogd1
3 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 515287d..2e4ed7f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gentoo-vdr-scripts
# $Id$
+ 06 Jul 2008; Matthias Schwarzott <zzam@gentoo.org> etc/init.d/vdr,
+ usr/sbin/vdr-watchdogd:
+ Changed message about died vdr process.
+
06 Jul 2008; Matthias Schwarzott <zzam@gentoo.org>
usr/share/vdr/rcscript/post-start-50-svdrp.sh,
usr/share/vdr/rcscript/post-start-60-check-syslog-errors.sh,
diff --git a/etc/init.d/vdr b/etc/init.d/vdr
index b7da10e..58b536a 100755
--- a/etc/init.d/vdr
+++ b/etc/init.d/vdr
@@ -150,4 +150,6 @@ watchdogrestart() {
load_addons_prefixed watchdog-restart
( start_vdr )
+
+ svdrpsend.pl mesg "Warning: VDR process died."
}
diff --git a/usr/sbin/vdr-watchdogd b/usr/sbin/vdr-watchdogd
index 8affe12..af19823 100755
--- a/usr/sbin/vdr-watchdogd
+++ b/usr/sbin/vdr-watchdogd
@@ -61,7 +61,6 @@ trigger_restart() {
log "restarting VDR"
/etc/init.d/vdr watchdogrestart
log "VDR has been restarted"
- svdrpsend.pl mesg "Warning: vdr was restarted by watchdog." &
}
is_enabled() {