summaryrefslogtreecommitdiff
path: root/units/systemd-kmsg-syslogd.socket
diff options
context:
space:
mode:
Diffstat (limited to 'units/systemd-kmsg-syslogd.socket')
-rw-r--r--units/systemd-kmsg-syslogd.socket20
1 files changed, 20 insertions, 0 deletions
diff --git a/units/systemd-kmsg-syslogd.socket b/units/systemd-kmsg-syslogd.socket
new file mode 100644
index 0000000000..7487cd5def
--- /dev/null
+++ b/units/systemd-kmsg-syslogd.socket
@@ -0,0 +1,20 @@
+# 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
+# (at your option) any later version.
+
+# See systemd.special(7) for details
+
+[Unit]
+Description=Syslog Socket
+DefaultDependencies=no
+Before=sockets.target
+
+[Socket]
+ListenDatagram=/dev/log
+SocketMode=0666
+
+[Install]
+WantedBy=sysinit.target