]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-journald.service.in
Merge pull request #12802 from irtimmer/fix-openssl
[thirdparty/systemd.git] / units / systemd-journald.service.in
CommitLineData
a7df2d1e
ZJS
1# SPDX-License-Identifier: LGPL-2.1+
2#
4b2d99d9
LP
3# This file is part of systemd.
4#
5# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
6# under the terms of the GNU Lesser General Public License as published by
7# the Free Software Foundation; either version 2.1 of the License, or
4b2d99d9
LP
8# (at your option) any later version.
9
4b2d99d9
LP
10[Unit]
11Description=Journal Service
63cb20a2 12Documentation=man:systemd-journald.service(8) man:journald.conf(5)
4b2d99d9
LP
13DefaultDependencies=no
14Requires=systemd-journald.socket
875c2e22 15After=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket syslog.socket
7e75c5ac 16Before=sysinit.target
4b2d99d9
LP
17
18[Service]
3ca9940c 19CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_SYSLOG CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_CHOWN CAP_DAC_READ_SEARCH CAP_FOWNER CAP_SETUID CAP_SETGID CAP_MAC_OVERRIDE
4b2d99d9 20ExecStart=@rootlibexecdir@/systemd-journald
3c978aca 21FileDescriptorStoreMax=4224
3ca9940c
LP
22IPAddressDeny=any
23LockPersonality=yes
40652ca4 24MemoryDenyWriteExecute=yes
3ca9940c
LP
25NoNewPrivileges=yes
26Restart=always
27RestartSec=0
0c28d51a 28RestrictAddressFamilies=AF_UNIX AF_NETLINK
3ca9940c
LP
29RestrictNamespaces=yes
30RestrictRealtime=yes
62aa2924 31RestrictSUIDSGID=yes
3ca9940c
LP
32Sockets=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket
33StandardOutput=null
7f396e5f 34SystemCallArchitectures=native
3ca9940c
LP
35SystemCallErrorNumber=EPERM
36SystemCallFilter=@system-service
37Type=notify
38WatchdogSec=3min
4b2d99d9 39
c35ee02c
LP
40# If there are many split up journal files we need a lot of fds to access them
41# all in parallel.
c02b6ee4 42LimitNOFILE=@HIGH_RLIMIT_NOFILE@