diff options
Diffstat (limited to 'units')
-rw-r--r-- | units/.gitignore | 1 | ||||
-rw-r--r-- | units/systemd-kmsg-syslogd.service.in | 16 | ||||
-rw-r--r-- | units/systemd-kmsg-syslogd.socket | 20 |
3 files changed, 37 insertions, 0 deletions
diff --git a/units/.gitignore b/units/.gitignore index 801e9d61e0..82a24170cf 100644 --- a/units/.gitignore +++ b/units/.gitignore @@ -1,3 +1,4 @@ +systemd-kmsg-syslogd.service systemd-modules-load.service systemd-remount-api-vfs.service systemd-auto-console-getty.service diff --git a/units/systemd-kmsg-syslogd.service.in b/units/systemd-kmsg-syslogd.service.in new file mode 100644 index 0000000000..e2e0f55b78 --- /dev/null +++ b/units/systemd-kmsg-syslogd.service.in @@ -0,0 +1,16 @@ +# 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=systemd Syslog Kernel Log Buffer Bridge +DefaultDependencies=no + +[Service] +ExecStart=@rootlibexecdir@/systemd-kmsg-syslogd +NotifyAccess=all 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 |