X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fsystemd-shutdownd.socket;h=c97e01a3374e398e58a8037368a0800e3e83da6c;hp=9a95fa92f0d6c6173fac535a9932b5902e8c5082;hb=88e995fd720a93460e7c3f38ac24512e6d96b3e8;hpb=f61448083198dc0e4e0d19a916bcd478336cc85d diff --git a/units/systemd-shutdownd.socket b/units/systemd-shutdownd.socket index 9a95fa92f..c97e01a33 100644 --- a/units/systemd-shutdownd.socket +++ b/units/systemd-shutdownd.socket @@ -1,16 +1,19 @@ # 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 DefaultDependencies=no Before=sockets.target [Socket] -ListenStream=@/org/freedesktop/systemd1/shutdownd +ListenDatagram=/run/systemd/shutdownd +SocketMode=0600 +PassCredentials=yes +PassSecurity=yes