]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/proc-sys-fs-binfmt_misc.automount
journald: do not store the iovec entry for process commandline on stack
[thirdparty/systemd.git] / units / proc-sys-fs-binfmt_misc.automount
index 4466ced9e3666d0625bbb241dfdc8a2527b1b0c0..30a6bc99184411aef7ece169f4a47d7327e03a9a 100644 (file)
@@ -1,23 +1,20 @@
-#  This file is part of systemd.
+#  SPDX-License-Identifier: LGPL-2.1+
 #
-#  Copyright 2010 Lennart Poettering
+#  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
-#  under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
+#  under the terms of the GNU Lesser General Public License as published by
+#  the Free Software Foundation; either version 2.1 of the License, or
 #  (at your option) any later version.
-#
-#  systemd is distributed in the hope that it will be useful, but
-#  WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-#  General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with systemd; If not, see <http://www.gnu.org/licenses/>.
 
 [Unit]
-Name=Arbitrary Executable File Formats File System Automount Point
-Before=basic.target
+Description=Arbitrary Executable File Formats File System Automount Point
+Documentation=https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html
+Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
+DefaultDependencies=no
+Before=sysinit.target
+ConditionPathExists=/proc/sys/fs/binfmt_misc/
+ConditionPathIsReadWrite=/proc/sys/
 
 [Automount]
 Where=/proc/sys/fs/binfmt_misc