]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/syslog.socket
cgls: don't show kernel threads by default
[thirdparty/systemd.git] / units / syslog.socket
CommitLineData
52f319b2
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
4# under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 2 of the License, or
6# (at your option) any later version.
7
8# See systemd.special(7) for details
9
10[Unit]
11Description=Syslog Socket
12DefaultDependencies=no
5cf18f77 13Before=sockets.target syslog.target
ead51eb4
LP
14Conflicts=shutdown.target
15Before=shutdown.target
52f319b2 16
a0e155d4
LP
17# Pull in syslog.target to tell people that /dev/log is now accessible
18Wants=syslog.target
19
52f319b2 20[Socket]
259d2e76 21ListenDatagram=/run/systemd/journal/syslog
52f319b2 22SocketMode=0666
271b032a 23PassCredentials=yes
52f319b2 24
4c0bebc3
LP
25# The default syslog implementation should make syslog.service a
26# symlink to itself, so that this socket activates the right actual
27# syslog service.
28#
29# Examples:
30#
31# /etc/systemd/system/syslog.service -> /lib/systemd/system/rsyslog.service
32# /etc/systemd/system/syslog.service -> /lib/systemd/system/syslog-ng.service
33#
34# Best way to achieve that is by adding this to your unit file
35# (i.e. to rsyslog.service or syslog-ng.service):
36#
37# [Install]
38# Alias=syslog.service