summaryrefslogtreecommitdiff
path: root/units/systemd-kmsg-syslogd.socket
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-21 03:57:47 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-21 03:57:47 +0200
commitaddab137cd8d318e4f543ca56018ee23d51aaca9 (patch)
tree650370b8b0ad99a1c4715ba9f47b53a0d5e2f077 /units/systemd-kmsg-syslogd.socket
parent8e4d105ddfd53fa146e03cee9d6fcc2e932975ac (diff)
syslog: add minimal syslog/kmsg bridge syslogd
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