First version for the N900 (headphoned 1.5)
[headphoned] / debian / postrm
index 1b92f0f..8a5220d 100644 (file)
@@ -2,6 +2,11 @@
 
 #DEBHELPER#
 
+#stop --quiet headphoned
+
+# FIXME: Ideally, this should make proper use of Upstart
+killall -q -SIGHUP headphoned
+
 CONFIG_LINE="input:file=\/etc\/headphoned\/mplayer-input"
 MPLAYER_CONF="/etc/mplayer/mplayer.conf"