chiark / gitweb /
Revert "systemd-logind.service: set Type=notify"
[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 Requires=systemd-journald.socket
13 After=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket syslog.socket
14 Before=sysinit.target
15
16 [Service]
17 Type=notify
18 Sockets=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket
19 ExecStart=@rootlibexecdir@/systemd-journald
20 Restart=always
21 RestartSec=0
22 NotifyAccess=all
23 StandardOutput=null
24 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
25 WatchdogSec=1min
26
27 # Increase the default a bit in order to allow many simultaneous
28 # services being run since we keep one fd open per service.
29 LimitNOFILE=16384