aboutsummaryrefslogtreecommitdiffstats
path: root/devel/dbus/files/dbus.sh
diff options
context:
space:
mode:
Diffstat (limited to 'devel/dbus/files/dbus.sh')
-rw-r--r--devel/dbus/files/dbus.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/devel/dbus/files/dbus.sh b/devel/dbus/files/dbus.sh
index 0e310f0188c5..b65a2106285d 100644
--- a/devel/dbus/files/dbus.sh
+++ b/devel/dbus/files/dbus.sh
@@ -19,6 +19,13 @@ rcvar=`set_rcvar`
command="%%PREFIX%%/bin/dbus-daemon-1"
pidfile="/var/run/${name}.pid"
+stop_postcmd=stop_postcmd
+
+stop_postcmd()
+{
+ rm -f $pidfile
+}
+
[ -z "$dbus_enable" ] && dbus_enable="NO"
[ -z "$dbus_flags" ] && dbus_flags="--system"