diff --git a/systemd/system/ensure-sysext.service b/systemd/system/ensure-sysext.service index ffecd58..e35d7ac 100644 --- a/systemd/system/ensure-sysext.service +++ b/systemd/system/ensure-sysext.service @@ -2,6 +2,12 @@ BindsTo=systemd-sysext.service After=systemd-sysext.service DefaultDependencies=no +# Keep in sync with systemd-sysext.service +ConditionDirectoryNotEmpty=|/etc/extensions +ConditionDirectoryNotEmpty=|/run/extensions +ConditionDirectoryNotEmpty=|/var/lib/extensions +ConditionDirectoryNotEmpty=|/usr/local/lib/extensions +ConditionDirectoryNotEmpty=|/usr/lib/extensions [Service] Type=oneshot RemainAfterExit=yes