chiark / gitweb /
unit: make sure structured logging is available before we enter the main boot phase
[elogind.git] / units / systemd-journald.service.in
index 3899745306c44de278f523ba29f141a161f8a118..cfbcda2f65863070ef12766d08d547941090c627 100644 (file)
@@ -12,10 +12,12 @@ DefaultDependencies=no
 Wants=systemd-journal-flush.service
 Requires=systemd-journald.socket
 After=systemd-journald.socket syslog.socket
+Before=sysinit.target
 
 [Service]
 ExecStart=@rootlibexecdir@/systemd-journald
 Restart=always
+RestartSec=0
 NotifyAccess=all
 StandardOutput=null
 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