]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
portable: /run/systemd/portables => /run/portables
authorDaan De Meyer <daan@amutable.com>
Fri, 13 Feb 2026 09:24:11 +0000 (10:24 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 13 Feb 2026 10:40:11 +0000 (11:40 +0100)
man/portablectl.xml
src/portable/portabled.c

index 531bc2dbfe33b864e3f6a17a9a17f0a2d6fbd6dc..76cae3a3749ddd7daeb5a1316595b9356c565eb5 100644 (file)
     <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
index 15e948220554cd7cf700f52155545bb4a5998b61..23982c6edef6b9a37578af34ca00aa734503b04b 100644 (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;