forked from mirrors/nixpkgs
Don't run hwclock if /dev/rtc doesn't exist
E.g. on EC2 instances. Backport: 14.04
This commit is contained in:
parent
24cbe874d6
commit
5bfe944907
|
@ -13,7 +13,7 @@ with lib;
|
||||||
|
|
||||||
unitConfig = {
|
unitConfig = {
|
||||||
DefaultDependencies = false;
|
DefaultDependencies = false;
|
||||||
ConditionVirtualization = "!systemd-nspawn";
|
ConditionPathExists = "/dev/rtc";
|
||||||
};
|
};
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
|
Loading…
Reference in a new issue