chiark / gitweb /
unit: make sure structured logging is available before we enter the main boot phase
[elogind.git] / units / systemd-journald.service.in
1 #  This file is part of systemd.
2 #
3 #  systemd is free software; you can redistribute it and/or modify it
4 #  under the terms of the GNU Lesser General Public License as published by
5 #  the Free Software Foundation; either version 2.1 of the License, or
6 #  (at your option) any later version.
7
8 [Unit]
9 Description=Journal Service
10 Documentation=man:systemd-journald.service(8) man:journald.conf(5)
11 DefaultDependencies=no
12 Wants=systemd-journal-flush.service
13 Requires=systemd-journald.socket
14 After=systemd-journald.socket syslog.socket
15 Before=sysinit.target
16
17 [Service]
18 ExecStart=@rootlibexecdir@/systemd-journald
19 Restart=always
20 RestartSec=0
21 NotifyAccess=all
22 StandardOutput=null
23 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
24
25 # Increase the default a bit in order to allow many simultaneous
26 # services being run since we keep one fd open per service.
27 LimitNOFILE=16384