2011-12-31 00:50:37 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 06:20:58 +08: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-31 00:50:37 +08:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Journal Service
|
2012-06-01 23:26:28 +08:00
|
|
|
Documentation=man:systemd-journald.service(8) man:journald.conf(5)
|
2011-12-31 00:50:37 +08:00
|
|
|
DefaultDependencies=no
|
|
|
|
Requires=systemd-journald.socket
|
2012-06-01 23:26:28 +08:00
|
|
|
After=systemd-journald.socket syslog.socket
|
2012-08-25 05:18:35 +08:00
|
|
|
Before=sysinit.target
|
2011-12-31 00:50:37 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=@rootlibexecdir@/systemd-journald
|
2012-06-28 18:13:52 +08:00
|
|
|
Restart=always
|
2012-07-18 08:31:52 +08:00
|
|
|
RestartSec=0
|
2011-12-31 00:50:37 +08:00
|
|
|
NotifyAccess=all
|
|
|
|
StandardOutput=null
|
2012-02-10 22:45:26 +08: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
|
2013-12-12 03:13:44 +08:00
|
|
|
WatchdogSec=1min
|
2011-12-31 00:50:37 +08: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
|