summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-rw-r--r--units/syslog.socket2
-rw-r--r--units/systemd-journald.socket1
-rw-r--r--units/systemd-shutdownd.socket2
3 files changed, 3 insertions, 2 deletions
diff --git a/units/syslog.socket b/units/syslog.socket
index f9e3171522..ce07a6697e 100644
--- a/units/syslog.socket
+++ b/units/syslog.socket
@@ -18,7 +18,7 @@ Wants=syslog.target
[Socket]
ListenDatagram=/run/systemd/syslog
SocketMode=0666
-PassCred=yes
+PassCredentials=yes
# The service we activate on incoming traffic is
# systemd-kmsg-syslogd.service. That doesn't mean however, that this
diff --git a/units/systemd-journald.socket b/units/systemd-journald.socket
index b439bc1fdc..ccb35b11a7 100644
--- a/units/systemd-journald.socket
+++ b/units/systemd-journald.socket
@@ -22,3 +22,4 @@ ListenStream=/run/systemd/stdout
ListenDatagram=/run/systemd/native
ListenDatagram=/dev/log
SocketMode=0666
+PassCredentials=yes
diff --git a/units/systemd-shutdownd.socket b/units/systemd-shutdownd.socket
index 13b6c7a5cc..532a6f0c73 100644
--- a/units/systemd-shutdownd.socket
+++ b/units/systemd-shutdownd.socket
@@ -15,4 +15,4 @@ Before=sockets.target
[Socket]
ListenDatagram=/run/systemd/shutdownd
SocketMode=0600
-PassCred=yes
+PassCredentials=yes