]>
Commit | Line | Data |
---|---|---|
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] |
11 | Description=Journal Service | |
63cb20a2 | 12 | Documentation=man:systemd-journald.service(8) man:journald.conf(5) |
4b2d99d9 LP |
13 | DefaultDependencies=no |
14 | Requires=systemd-journald.socket | |
875c2e22 | 15 | After=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket syslog.socket |
7e75c5ac | 16 | Before=sysinit.target |
4b2d99d9 LP |
17 | |
18 | [Service] | |
a87a38c2 | 19 | Type=notify |
875c2e22 | 20 | Sockets=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket |
4b2d99d9 | 21 | ExecStart=@rootlibexecdir@/systemd-journald |
454591be | 22 | Restart=always |
47ec1184 | 23 | RestartSec=0 |
4b2d99d9 | 24 | StandardOutput=null |
119e9655 | 25 | WatchdogSec=3min |
3c978aca | 26 | FileDescriptorStoreMax=4224 |
0c28d51a | 27 | CapabilityBoundingSet=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 | 28 | MemoryDenyWriteExecute=yes |
0c28d51a | 29 | RestrictRealtime=yes |
3c19d0b4 | 30 | RestrictNamespaces=yes |
0c28d51a | 31 | RestrictAddressFamilies=AF_UNIX AF_NETLINK |
6489ccfe | 32 | SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @swap |
7f396e5f | 33 | SystemCallArchitectures=native |
bff8f254 | 34 | LockPersonality=yes |
0a9b166b | 35 | IPAddressDeny=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 | 41 | LimitNOFILE=16384 |