mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-07 22:11:45 +03:00
Fix `avahi-daemon' Upstart job.
svn path=/nixos/trunk/; revision=11002
This commit is contained in:
parent
43a4353c67
commit
9650b0859e
@ -16,8 +16,6 @@ let
|
||||
disable-publishing=${if publishing then "no" else "yes"}
|
||||
'';
|
||||
|
||||
avahiUid = (import ../system/ids.nix).uids.avahi;
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
@ -31,6 +29,12 @@ in
|
||||
}
|
||||
];
|
||||
|
||||
groups = [
|
||||
{ name = "avahi";
|
||||
gid = (import ../system/ids.nix).gids.avahi;
|
||||
}
|
||||
];
|
||||
|
||||
job = ''
|
||||
start on startup
|
||||
stop on shutdown
|
||||
|
@ -277,7 +277,8 @@ let
|
||||
(import ../upstart-jobs/dbus.nix {
|
||||
inherit (pkgs) stdenv dbus;
|
||||
dbusServices =
|
||||
pkgs.lib.optional (config.services.hal.enable) pkgs.hal;
|
||||
pkgs.lib.optional (config.services.hal.enable) pkgs.hal ++
|
||||
pkgs.lib.optional (config.services.avahi.enable) pkgs.avahi;
|
||||
})
|
||||
|
||||
# HAL daemon.
|
||||
|
Loading…
Reference in New Issue
Block a user