fix device reboot if nowplayingd misbehaves
authorTuomo Tanskanen <ext-tuomo.1.tanskanen@nokia.com>
Tue, 2 Mar 2010 07:30:45 +0000 (09:30 +0200)
committerTuomo Tanskanen <ext-tuomo.1.tanskanen@nokia.com>
Tue, 2 Mar 2010 07:30:45 +0000 (09:30 +0200)
debian/changelog
debian/postinst
scripts/99nowplayingd

index 1a0801e..44e9f5b 100644 (file)
@@ -1,8 +1,11 @@
-nowplayingd (0.1-3) fremantle; urgency=low
+nowplayingd (0.2-1) fremantle; urgency=low
 
-  * Added bugtracker
+  * Added bugtracker (mailto me)
+  * Fix postinst/99nowplayingd to use dsmetool -f, which does NOT reboot
+    device if nowplayingd for some reason goes to segfault loop. Now
+    it just silently stops trying to respawn it.
 
- -- Tuomo Tanskanen <tumi@tumi.fi>  Mon, 01 Mar 2010 14:20:59 +0200
+ -- Tuomo Tanskanen <tumi@tumi.fi>  Tue, 02 Mar 2010 09:28:51 +0200
 
 nowplayingd (0.1-2) fremantle; urgency=low
 
index fe98d6c..a659219 100644 (file)
@@ -2,7 +2,7 @@
 
 DAEMON=/usr/bin/nowplayingd
 DSMETOOL=/usr/sbin/dsmetool
-DSMETOOL_PARAMETERS="-t"
+DSMETOOL_PARAMETERS="-f"
 
 if [ -x $DAEMON ]; then
        echo "Starting nowplayingd..."
index b833d8a..d4a20b3 100644 (file)
@@ -2,6 +2,6 @@
 
 DAEMON=/usr/bin/nowplayingd
 DSMETOOL=/usr/sbin/dsmetool
-DSMETOOL_PARAMETERS="-t"
+DSMETOOL_PARAMETERS="-f"
 
 $DSMETOOL $DSMETOOL_PARAMETERS $DAEMON