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
@ -105,6 +105,8 @@ in
|
|||||||
daemonType = "fork";
|
daemonType = "fork";
|
||||||
|
|
||||||
exec = "acpid --confdir ${acpiConfDir}";
|
exec = "acpid --confdir ${acpiConfDir}";
|
||||||
|
|
||||||
|
unitConfig.ConditionPathExists = [ "/proc/acpi" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user