diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-10-16 22:45:17 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-01-17 09:42:16 +0100 |
commit | 50072ccf1bfee8a53563a083a3a52b26f0d5678f (patch) | |
tree | 0ec049d916bd7e40dad71727d2bc0d6bd8b0e339 /src/shared/web-util.h | |
parent | generator: teach generator_add_symlink() to instantiate specified unit (diff) | |
download | systemd-50072ccf1bfee8a53563a083a3a52b26f0d5678f.tar.xz systemd-50072ccf1bfee8a53563a083a3a52b26f0d5678f.zip |
units: rework growfs units to be just a regular unit that is instantiated
The systemd-growfs@.service units are currently written in full for each
file system to grow. Which is kinda pointless given that (besides an
optional ordering dep) they contain always the same definition. Let's
fix that and add a static template for this logic, that the generator
simply instantiates (and adds an ordering dep for).
This mimics how systemd-fsck@.service is handled. Similar to the wait
that for root fs there's a special instance systemd-fsck-root.service
we also add a special instance systemd-growfs-root.service for the root
fs, since it has slightly different deps.
Fixes: #20788
See: #10014
Diffstat (limited to 'src/shared/web-util.h')
0 files changed, 0 insertions, 0 deletions