Nice! This will finally fix all the problems with newly installed D-Bus services.
-----Oorspronkelijk bericht----- Van: [email protected] namens Eelco Dolstra Verzonden: vr 23-7-2010 12:52 Aan: [email protected] Onderwerp: [Nix-commits] SVN commit: nix - r22718 -nixos/trunk/modules/system/activation Author: eelco Date: Fri Jul 23 10:52:51 2010 New Revision: 22718 URL: https://svn.nixos.org/websvn/nix/?rev=22718&sc=1 Log: * switch-to-configuration.sh: Signal dbus to reload its configuration. Modified: nixos/trunk/modules/system/activation/switch-to-configuration.sh Modified: nixos/trunk/modules/system/activation/switch-to-configuration.sh ============================================================================== --- nixos/trunk/modules/system/activation/switch-to-configuration.sh Thu Jul 22 22:45:24 2010 (r22717) +++ nixos/trunk/modules/system/activation/switch-to-configuration.sh Fri Jul 23 10:52:51 2010 (r22718) @@ -121,4 +121,9 @@ initctl start "$job" || true fi done + + # Signal dbus to reload its configuration. + dbusPid=$(initctl status dbus 2> /dev/null | sed -e 's/.*process \([0-9]\+\)/\1/;t;d') + [ -n "$dbusPid" ] && kill -HUP "$dbusPid" + fi _______________________________________________ nix-commits mailing list [email protected] http://mail.cs.uu.nl/mailman/listinfo/nix-commits
_______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
