]>
Commit | Line | Data |
---|---|---|
4b2d99d9 LP |
1 | # This file is part of systemd. |
2 | # | |
3 | # systemd is free software; you can redistribute it and/or modify it | |
5430f7f2 LP |
4 | # under the terms of the GNU Lesser General Public License as published by |
5 | # the Free Software Foundation; either version 2.1 of the License, or | |
4b2d99d9 LP |
6 | # (at your option) any later version. |
7 | ||
4b2d99d9 LP |
8 | [Unit] |
9 | Description=Journal Service | |
63cb20a2 | 10 | Documentation=man:systemd-journald.service(8) man:journald.conf(5) |
4b2d99d9 LP |
11 | DefaultDependencies=no |
12 | Requires=systemd-journald.socket | |
875c2e22 | 13 | After=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket syslog.socket |
7e75c5ac | 14 | Before=sysinit.target |
4b2d99d9 LP |
15 | |
16 | [Service] | |
a87a38c2 | 17 | Type=notify |
875c2e22 | 18 | Sockets=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket |
4b2d99d9 | 19 | ExecStart=@rootlibexecdir@/systemd-journald |
454591be | 20 | Restart=always |
47ec1184 | 21 | RestartSec=0 |
4b2d99d9 LP |
22 | NotifyAccess=all |
23 | StandardOutput=null | |
875c2e22 | 24 | 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 |
f9a810be | 25 | WatchdogSec=1min |
13790add | 26 | FileDescriptorStoreMax=1024 |
4b2d99d9 LP |
27 | |
28 | # Increase the default a bit in order to allow many simultaneous | |
de45d726 LP |
29 | # services being run since we keep one fd open per service. Also, when |
30 | # flushing journal files to disk, we might need a lot of fds when many | |
31 | # journal files are combined. | |
4b2d99d9 | 32 | LimitNOFILE=16384 |