1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-22 09:57:34 +03:00

units: run systemd-repart only if there's configuration for it

This commit is contained in:
Lennart Poettering 2020-04-02 17:04:38 +02:00
parent aade0c3b6e
commit fdfe909123

View File

@ -15,6 +15,10 @@ Conflicts=shutdown.target
After=sysroot.mount
Before=initrd-root-fs.target shutdown.target
ConditionVirtualization=!container
ConditionDirectoryNotEmpty=|/usr/lib/repart.d
ConditionDirectoryNotEmpty=|/usr/local/lib/repart.d
ConditionDirectoryNotEmpty=|/etc/repart.d
ConditionDirectoryNotEmpty=|/run/repart.d
[Service]
Type=oneshot