[Unit] Description=Promtail log ingress [Service] X-StopIfChanged=false CacheDirectory=promtail CapabilityBoundingSet= ExecStart=/usr/bin/promtail -config.file=/etc/promtail/config-promtail.yml --client.external-labels=host=%H # Group=promtail LockPersonality=true MemoryDenyWriteExecute=true NoNewPrivileges=true PrivateDevices=true PrivateMounts=true PrivateTmp=true PrivateUsers=true ProtectClock=true ProtectControlGroups=true ProtectHome=true ProtectHostname=true ProtectKernelLogs=true ProtectKernelModules=true ProtectKernelTunables=true ProtectSystem=strict Restart=on-failure RestrictRealtime=true RestrictSUIDSGID=true SupplementaryGroups=systemd-journal SystemCallArchitectures=native SystemCallFilter=@system-service TimeoutStopSec=10 # User=promtail [Install] WantedBy=multi-user.target