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-06-04 14:37:02 +00:00
|
|
|
After=systemd-journald.socket systemd-journald-dev-log.socket syslog.socket
|
2012-08-24 21:18:35 +00:00
|
|
|
Before=sysinit.target
|
2011-12-30 16:50:37 +00:00
|
|
|
|
|
|
|
[Service]
|
2014-06-04 14:37:02 +00:00
|
|
|
Sockets=systemd-journald.socket systemd-journald-dev-log.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-09-11 07:06:38 +00:00
|
|
|
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_SYSLOG CAP_AUDIT_CONTROL CAP_CHOWN CAP_DAC_READ_SEARCH CAP_FOWNER CAP_SETUID CAP_SETGID CAP_MAC_OVERRIDE
|
2013-12-11 19:13:44 +00:00
|
|
|
WatchdogSec=1min
|
2011-12-30 16:50:37 +00:00
|
|
|
|
|
|
|
# Increase the default a bit in order to allow many simultaneous
|
|
|
|
# services being run since we keep one fd open per service.
|
|
|
|
LimitNOFILE=16384
|