]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-journald.service.in
test-string-util: add another test for stripping slashes
[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]
a87a38c2 19Type=notify
875c2e22 20Sockets=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket
4b2d99d9 21ExecStart=@rootlibexecdir@/systemd-journald
454591be 22Restart=always
47ec1184 23RestartSec=0
4b2d99d9 24StandardOutput=null
119e9655 25WatchdogSec=3min
3c978aca 26FileDescriptorStoreMax=4224
0c28d51a 27CapabilityBoundingSet=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
40652ca4 28MemoryDenyWriteExecute=yes
0c28d51a 29RestrictRealtime=yes
3c19d0b4 30RestrictNamespaces=yes
0c28d51a 31RestrictAddressFamilies=AF_UNIX AF_NETLINK
6489ccfe 32SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @swap
7f396e5f 33SystemCallArchitectures=native
bff8f254 34LockPersonality=yes
0a9b166b 35IPAddressDeny=any
4b2d99d9
LP
36
37# Increase the default a bit in order to allow many simultaneous
de45d726
LP
38# services being run since we keep one fd open per service. Also, when
39# flushing journal files to disk, we might need a lot of fds when many
40# journal files are combined.
4b2d99d9 41LimitNOFILE=16384