diff --git a/modules/services/system/dbus.nix b/modules/services/system/dbus.nix index 2808b0241c2..7232d12ecb9 100644 --- a/modules/services/system/dbus.nix +++ b/modules/services/system/dbus.nix @@ -135,6 +135,13 @@ in exec = "dbus-daemon --system"; + postStart = + '' + # Signal Upstart to connect to the system bus. This + # allows ‘initctl’ to work for non-root users. + kill -USR1 1 + ''; + postStop = '' # !!! Hack: doesn't belong here.