mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 14:40:07 +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"}
|
disable-publishing=${if publishing then "no" else "yes"}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
avahiUid = (import ../system/ids.nix).uids.avahi;
|
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -31,6 +29,12 @@ in
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
groups = [
|
||||||
|
{ name = "avahi";
|
||||||
|
gid = (import ../system/ids.nix).gids.avahi;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
job = ''
|
job = ''
|
||||||
start on startup
|
start on startup
|
||||||
stop on shutdown
|
stop on shutdown
|
||||||
|
@ -277,7 +277,8 @@ let
|
|||||||
(import ../upstart-jobs/dbus.nix {
|
(import ../upstart-jobs/dbus.nix {
|
||||||
inherit (pkgs) stdenv dbus;
|
inherit (pkgs) stdenv dbus;
|
||||||
dbusServices =
|
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.
|
# HAL daemon.
|
||||||
|
Loading…
Reference in New Issue
Block a user