systemd-journald.service 1.3 KB

1234567891011121314151617181920212223242526272829303132
  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. [Unit]
  8. Description=Journal Service
  9. Documentation=man:systemd-journald.service(8) man:journald.conf(5)
  10. DefaultDependencies=no
  11. Requires=systemd-journald.socket
  12. After=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket syslog.socket
  13. Before=sysinit.target
  14. [Service]
  15. Type=notify
  16. Sockets=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket
  17. ExecStart=/lib/systemd/systemd-journald
  18. Restart=always
  19. RestartSec=0
  20. NotifyAccess=all
  21. StandardOutput=null
  22. 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
  23. WatchdogSec=3min
  24. FileDescriptorStoreMax=1024
  25. # Increase the default a bit in order to allow many simultaneous
  26. # services being run since we keep one fd open per service. Also, when
  27. # flushing journal files to disk, we might need a lot of fds when many
  28. # journal files are combined.
  29. LimitNOFILE=16384