chiark / gitweb /
journal: Don't hold pointers to journal while remapping
[elogind.git] / units / systemd-journald.service.in
index 2cfc68482eb1c7a5cb8b4dd4baf189ef9f064add..92606b0d884639366593f1c24a3eb39b57688a5b 100644 (file)
@@ -12,12 +12,13 @@ Description=Journal Service
 DefaultDependencies=no
 Requires=systemd-journald.socket
 After=systemd-journald.socket
+After=syslog.socket
 
 [Service]
 ExecStart=@rootlibexecdir@/systemd-journald
 NotifyAccess=all
 StandardOutput=null
-#CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SETUID CAP_SETGID
+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
 
 # Increase the default a bit in order to allow many simultaneous
 # services being run since we keep one fd open per service.