chiark / gitweb /
tmpfiles: there's no systemd-forbid-user-logins.service service
authorLennart Poettering <lennart@poettering.net>
Tue, 21 Apr 2015 15:26:56 +0000 (17:26 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 07:07:58 +0000 (08:07 +0100)
src/login/org.freedesktop.login1.service

index 762dae2bb3a1064d941907b6c3979deb176a1e74..a30a8da6044accf7ba20ca7e84fd281f419208c6 100644 (file)
@@ -5,8 +5,7 @@
 #  the Free Software Foundation; either version 2.1 of the License, or
 #  (at your option) any later version.
 
-[D-BUS Service]
-Name=org.freedesktop.login1
-Exec=/bin/false
-User=root
-SystemdService=dbus-org.freedesktop.login1.service
+# See tmpfiles.d(5), systemd-user-session.service(5) and pam_nologin(8).
+# This file has special suffix so it is not run by mistake.
+
+F! /run/nologin 0644 - - - "System is booting up. See pam_nologin(8)"