]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-journald.service.in
Revert "units: add 'smackfsroot=*' option into tmp.mount when SMACK is enabled"
[thirdparty/systemd.git] / units / systemd-journald.service.in
CommitLineData
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]
9Description=Journal Service
63cb20a2 10Documentation=man:systemd-journald.service(8) man:journald.conf(5)
4b2d99d9
LP
11DefaultDependencies=no
12Requires=systemd-journald.socket
875c2e22 13After=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket syslog.socket
7e75c5ac 14Before=sysinit.target
4b2d99d9
LP
15
16[Service]
a87a38c2 17Type=notify
875c2e22 18Sockets=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket
4b2d99d9 19ExecStart=@rootlibexecdir@/systemd-journald
454591be 20Restart=always
47ec1184 21RestartSec=0
4b2d99d9
LP
22NotifyAccess=all
23StandardOutput=null
875c2e22 24CapabilityBoundingSet=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
c2fc2c25 25WatchdogSec=3min
13790add 26FileDescriptorStoreMax=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 32LimitNOFILE=16384