mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +00:00
Merge pull request #27161 from pothos/sysext-refresh
systemd-sysext/confext.service: Refresh on start/reload
This commit is contained in:
commit
9c1d3d6fa7
|
@ -274,9 +274,9 @@
|
||||||
<term><option>--discover</option></term>
|
<term><option>--discover</option></term>
|
||||||
|
|
||||||
<listitem><para>Show a list of DDIs in well-known directories. This will show machine, portable
|
<listitem><para>Show a list of DDIs in well-known directories. This will show machine, portable
|
||||||
service and system extension disk images in the usual directories
|
service and system/configuration extension disk images in the usual directories
|
||||||
<filename>/usr/lib/machines/</filename>, <filename>/usr/lib/portables/</filename>,
|
<filename>/usr/lib/machines/</filename>, <filename>/usr/lib/portables/</filename>,
|
||||||
<filename>/usr/lib/extensions/</filename>, <filename>/var/lib/machines/</filename>,
|
<filename>/usr/lib/confexts/</filename>, <filename>/var/lib/machines/</filename>,
|
||||||
<filename>/var/lib/portables/</filename>, <filename>/var/lib/extensions/</filename> and so
|
<filename>/var/lib/portables/</filename>, <filename>/var/lib/extensions/</filename> and so
|
||||||
on.</para></listitem>
|
on.</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
|
@ -26,7 +26,8 @@ Before=shutdown.target initrd-switch-root.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
ExecStart=systemd-confext merge
|
ExecStart=systemd-confext refresh
|
||||||
|
ExecReload=systemd-confext refresh
|
||||||
ExecStop=systemd-confext unmerge
|
ExecStop=systemd-confext unmerge
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
@ -25,7 +25,8 @@ Before=shutdown.target initrd-switch-root.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
ExecStart=systemd-sysext merge
|
ExecStart=systemd-sysext refresh
|
||||||
|
ExecReload=systemd-sysext refresh
|
||||||
ExecStop=systemd-sysext unmerge
|
ExecStop=systemd-sysext unmerge
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in a new issue