portable: /run/systemd/portables => /run/portables

This commit is contained in:
Daan De Meyer
2026-02-13 11:40:11 +01:00
committed by Daan De Meyer
parent a81a88560b
commit aca8ed4af1
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -459,10 +459,10 @@
<title>Files and Directories</title>
<para>Portable service images are preferably stored in <filename>/var/lib/portables/</filename>, but are also
searched for in <filename>/etc/portables/</filename>, <filename>/run/systemd/portables/</filename>,
searched for in <filename>/etc/portables/</filename>, <filename>/run/portables/</filename>,
<filename>/usr/local/lib/portables/</filename> and <filename>/usr/lib/portables/</filename>. It's recommended not
to place image files directly in <filename>/etc/portables/</filename> or
<filename>/run/systemd/portables/</filename> (as these are generally not suitable for storing large or non-textual
<filename>/run/portables/</filename> (as these are generally not suitable for storing large or non-textual
data), but use these directories only for linking images located elsewhere into the image search path.</para>
<para>When a portable service image is attached, matching unit files are copied onto the host into the
+1 -1
View File
@@ -37,7 +37,7 @@ static int manager_new(RuntimeScope scope, Manager **ret) {
.runtime_scope = scope,
};
r = runtime_directory_generic(scope, "systemd/portables", &m->state_dir);
r = runtime_directory_generic(scope, "portables", &m->state_dir);
if (r < 0)
return r;