mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
nixos/oddjob: Maybe fix, but mark as broken
Unfortunately there's no test for me to confirm that it works, so all I can do is ask for maintainers, unfortunately -- I mean... This is your opportunity!
This commit is contained in:
parent
e6e16bc118
commit
d36353cf86
@ -10,6 +10,11 @@ in
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
assertions = [
|
||||
{ assertion = false;
|
||||
message = "The oddjob service was found to be broken without NixOS test or maintainer. Please take ownership of this service.";
|
||||
}
|
||||
];
|
||||
systemd.packages = [ cfg.package ];
|
||||
|
||||
systemd.services.oddjobd = {
|
||||
@ -21,7 +26,7 @@ in
|
||||
serviceConfig = {
|
||||
Type = "dbus";
|
||||
BusName = "org.freedesktop.oddjob";
|
||||
ExecStart = "${lib.getExe cfg.package}/bin/oddjobd";
|
||||
ExecStart = "${lib.getBin cfg.package}/bin/oddjobd";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user