2011-12-30 17:50:37 +01:00
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
2012-04-12 00:20:58 +02:00
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
2011-12-30 17:50:37 +01:00
# (at your option) any later version.
[Unit]
Description = Journal Service
2012-06-01 17:26:28 +02:00
Documentation = man:systemd-journald.service(8) man:journald.conf(5)
2011-12-30 17:50:37 +01:00
DefaultDependencies = no
Requires = systemd-journald.socket
2014-11-03 20:58:24 +01:00
After = systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket syslog.socket
2012-08-24 23:18:35 +02:00
Before = sysinit.target
2011-12-30 17:50:37 +01:00
[Service]
2014-11-04 20:28:08 +01:00
Type = notify
2014-11-03 20:58:24 +01:00
Sockets = systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket
2011-12-30 17:50:37 +01:00
ExecStart = @rootlibexecdir@/systemd-journald
2012-06-28 12:13:52 +02:00
Restart = always
2012-07-18 02:31:52 +02:00
RestartSec = 0
2011-12-30 17:50:37 +01:00
NotifyAccess = all
StandardOutput = null
2014-11-03 20:58:24 +01:00
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
2013-12-11 20:13:44 +01:00
WatchdogSec = 1min
2015-01-06 00:30:25 +01:00
FileDescriptorStoreMax = 1024
2011-12-30 17:50:37 +01:00
# Increase the default a bit in order to allow many simultaneous
2015-01-08 03:17:50 +01:00
# services being run since we keep one fd open per service. Also, when
# flushing journal files to disk, we might need a lot of fds when many
# journal files are combined.
2011-12-30 17:50:37 +01:00
LimitNOFILE = 16384