Skip to content

Commit

Permalink
Merge pull request #68 from flatcar-linux/kai/skip-ensure-sysext
Browse files Browse the repository at this point in the history
systemd/system/ensure-sysext: skip unit if systemd-sysext is skipped
  • Loading branch information
pothos authored Apr 13, 2022
2 parents d76453b + ccade77 commit 656181f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions systemd/system/ensure-sysext.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 656181f

Please sign in to comment.