chiark / gitweb /
tmpfiles: add 'a' type to set ACLs
[elogind.git] / units / systemd-tmpfiles-setup-dev.service.in
index 3553226c677d49bc3547cacbda0662a55a98fedc..0123a030e4e08f61544785c16398ad121f240934 100644 (file)
@@ -6,11 +6,15 @@
 #  (at your option) any later version.
 
 [Unit]
-Description=Create static device nodes in /dev
+Description=Create Static Device Nodes in /dev
+Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8)
 DefaultDependencies=no
-Before=sysinit.target systemd-udevd.service
-ConditionCapability=CAP_MKNOD
+Conflicts=shutdown.target
+After=systemd-sysusers.service
+Before=sysinit.target local-fs-pre.target systemd-udevd.service shutdown.target
+ConditionCapability=CAP_SYS_MODULE
 
 [Service]
 Type=oneshot
-ExecStart=@rootbindir@/systemd-tmpfiles --prefix=/dev --create
+RemainAfterExit=yes
+ExecStart=@rootbindir@/systemd-tmpfiles --prefix=/dev --create --boot