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