]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-tmpfiles-setup-dev.service
Merge pull request #33199 from DaanDeMeyer/optimization
[thirdparty/systemd.git] / units / systemd-tmpfiles-setup-dev.service
CommitLineData
db9ecf05 1# SPDX-License-Identifier: LGPL-2.1-or-later
a7df2d1e 2#
8c11aac1
TG
3# This file is part of systemd.
4#
5# systemd is free software; you can redistribute it and/or modify it
6# under the terms of the GNU Lesser General Public License as published by
7# the Free Software Foundation; either version 2.1 of the License, or
8# (at your option) any later version.
9
10[Unit]
d1a6f441 11Description=Create Static Device Nodes in /dev
195f8e36 12Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)
9810e419 13
8c11aac1 14DefaultDependencies=no
bb7f485f 15After=systemd-tmpfiles-setup-dev-early.service
9810e419 16Before=sysinit.target local-fs-pre.target systemd-udevd.service
bec89355 17Wants=local-fs-pre.target
7c0e2b55
ZJS
18Conflicts=shutdown.target initrd-switch-root.target
19Before=shutdown.target initrd-switch-root.target
8c11aac1
TG
20
21[Service]
22Type=oneshot
7e380bba 23RemainAfterExit=yes
bb7f485f 24ExecStart=systemd-tmpfiles --prefix=/dev --create --boot
716e6f44 25SuccessExitStatus=DATAERR CANTCREAT
1ab6ae19 26ImportCredential=tmpfiles.*