mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
acpid: Skip (rather than fail) if /proc/acpi doesn't exist
E.g. EC2 instances don't have ACPI.
This commit is contained in:
parent
0ddd147cfc
commit
892b3f6ad6
1 changed files with 2 additions and 0 deletions
|
@ -105,6 +105,8 @@ in
|
|||
daemonType = "fork";
|
||||
|
||||
exec = "acpid --confdir ${acpiConfDir}";
|
||||
|
||||
unitConfig.ConditionPathExists = [ "/proc/acpi" ];
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue