chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
logind: add support for /run/nologin and /run/systemd/shutdown/scheduled
[elogind.git]
/
src
/
login
/
org.freedesktop.login1.service
diff --git
a/src/login/org.freedesktop.login1.service
b/src/login/org.freedesktop.login1.service
index 4a64177e30ef231b6f8cb887e120a41861519c32..a30a8da6044accf7ba20ca7e84fd281f419208c6 100644
(file)
--- a/
src/login/org.freedesktop.login1.service
+++ b/
src/login/org.freedesktop.login1.service
@@
-1,12
+1,11
@@
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# 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.
# (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)"