chiark / gitweb /
units/serial-getty@.service: use the default RestartSec
[elogind.git] / units / systemd-shutdownd.socket
index 9a95fa92f0d6c6173fac535a9932b5902e8c5082..9421ce8ada20daddb40cfd5c41720d7bb9aaf2c9 100644 (file)
@@ -1,16 +1,18 @@
 #  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.
 
-# See systemd.special(7) for details
-
 [Unit]
-Description=systemd Shutdown Socket
+Description=Delayed Shutdown Socket
+Documentation=man:systemd-shutdownd.service(8)
 DefaultDependencies=no
 Before=sockets.target
 
 [Socket]
-ListenStream=@/org/freedesktop/systemd1/shutdownd
+ListenDatagram=/run/systemd/shutdownd
+SocketMode=0600
+PassCredentials=yes
+PassSecurity=yes