acpid: Skip (rather than fail) if /proc/acpi doesn't exist

E.g. EC2 instances don't have ACPI.
This commit is contained in:
Eelco Dolstra 2012-10-04 23:26:01 -04:00
parent 0ddd147cfc
commit 892b3f6ad6

View file

@ -105,6 +105,8 @@ in
daemonType = "fork";
exec = "acpid --confdir ${acpiConfDir}";
unitConfig.ConditionPathExists = [ "/proc/acpi" ];
};
};