2003-04-11 Havoc Pennington <hp@redhat.com>
authorHavoc Pennington <hp@redhat.com>
Fri, 11 Apr 2003 20:20:05 +0000 (20:20 +0000)
committerHavoc Pennington <hp@redhat.com>
Fri, 11 Apr 2003 20:20:05 +0000 (20:20 +0000)
* bus/messagebus.in: remove pid file when stopping the
message bus, since the bus won't have privileges to remove it
itself.

ChangeLog
bus/messagebus.in

index c608f29..8cd6dda 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2003-04-11  Havoc Pennington  <hp@redhat.com>
 
+       * bus/messagebus.in: remove pid file when stopping the
+       message bus, since the bus won't have privileges to remove it
+       itself.
+
+2003-04-11  Havoc Pennington  <hp@redhat.com>
+
        * bus/bus.c (bus_context_new): move credentials change after
        creating pidfile
 
index 45388a5..e4a1696 100755 (executable)
@@ -37,6 +37,7 @@ stop() {
     echo
     if [ $RETVAL -eq 0 ]; then
         rm -f @EXPANDED_LOCALSTATEDIR@/lock/subsys/messagebus
+        rm -f @DBUS_SYSTEM_PID_FILE@
     fi
 }