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:
parent
aade0c3b6e
commit
fdfe909123
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user