diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-05-08 11:11:43 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-06-25 09:57:42 +0200 |
commit | f59665881191b7439bdbb5c7795f5ab6f2df1506 (patch) | |
tree | a7c046274fa13a5cd92360e5eab9b03b56bebb52 /units/systemd-importd.service.in | |
parent | importd: add simple varlink API (diff) | |
download | systemd-f59665881191b7439bdbb5c7795f5ab6f2df1506.tar.xz systemd-f59665881191b7439bdbb5c7795f5ab6f2df1506.zip |
importd: allow activation in early boot, and make it socket activatable
Previously, importd was only accessible via D-Bus, which required it to
be a late boot service. Now that we have Varlink we can rearrange things
to become early-boot activated, just after the image directories are
mounted.
This will later allow us to have generator that auto-downloads images on
boot.
Diffstat (limited to 'units/systemd-importd.service.in')
-rw-r--r-- | units/systemd-importd.service.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/units/systemd-importd.service.in b/units/systemd-importd.service.in index daa93776e1..e119d40929 100644 --- a/units/systemd-importd.service.in +++ b/units/systemd-importd.service.in @@ -8,9 +8,15 @@ # (at your option) any later version. [Unit] -Description=Virtual Machine and Container Download Service +Description=Disk Image Download Service Documentation=man:systemd-importd.service(8) Documentation=man:org.freedesktop.import1(5) +DefaultDependencies=no +After=systemd-importd.socket +WantsMountsFor=/var/lib/machines /var/lib/portables /var/lib/extensions /var/lib/confexts +After=systemd-remount-fs.service +Before=shutdown.target +Conflicts=shutdown.target [Service] Type=notify |