2011-12-30 20:50:37 +04:00
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
2012-04-12 02:20:58 +04: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 20:50:37 +04:00
# (at your option) any later version.
[Unit]
Description = Journal Service
2012-06-01 19:26:28 +04:00
Documentation = man:systemd-journald.service(8) man:journald.conf(5)
2011-12-30 20:50:37 +04:00
DefaultDependencies = no
Requires = systemd-journald.socket
2014-11-03 22:58:24 +03:00
After = systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket syslog.socket
2012-08-25 01:18:35 +04:00
Before = sysinit.target
2011-12-30 20:50:37 +04:00
[Service]
2014-11-04 22:28:08 +03:00
Type = notify
2014-11-03 22:58:24 +03:00
Sockets = systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket
2011-12-30 20:50:37 +04:00
ExecStart = @rootlibexecdir@/systemd-journald
2012-06-28 14:13:52 +04:00
Restart = always
2012-07-18 04:31:52 +04:00
RestartSec = 0
2011-12-30 20:50:37 +04:00
NotifyAccess = all
StandardOutput = null
2014-11-03 22:58:24 +03: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 23:13:44 +04:00
WatchdogSec = 1min
2015-01-06 02:30:25 +03:00
FileDescriptorStoreMax = 1024
2011-12-30 20:50:37 +04:00
# Increase the default a bit in order to allow many simultaneous
2015-01-08 05:17:50 +03: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 20:50:37 +04:00
LimitNOFILE = 16384