This unit is provided by:
Options
-
[Install]-
WantedBy=multi-user.target
-
-
[Service]-
CacheDirectory=promtail -
CapabilityBoundingSet= -
EnvironmentFile=-/etc/sysconfig/promtail -
ExecReload=/bin/kill -HUP $MAINPID -
ExecStart=/usr/bin/promtail -config.file=${CONFIG_FILE} -
ExecStart=/usr/bin/promtail -config.file=promtail-config.json -
ExecStart=/usr/bin/promtail -positions.file /var/lib/promtail/positions.yml -config.file /etc/loki/promtail.yaml -
Group=promtail -
LimitNOFILE=65536 -
LockPersonalityIntroduced in systemd 235=yes -
MemoryDenyWriteExecuteIntroduced in systemd 231=yes -
NoNewPrivilegesIntroduced in systemd 239=yes -
PrivateDevicesIntroduced in systemd 209=yes -
PrivateMounts=yes -
PrivateTmp=yes -
PrivateUsers=yes -
ProtectClockIntroduced in systemd 245=yes -
ProtectControlGroupsIntroduced in systemd 232=yes -
ProtectHomeIntroduced in systemd 214=yes -
ProtectHostnameIntroduced in systemd 242=yes -
ProtectKernelLogsIntroduced in systemd 244=yes -
ProtectKernelModulesIntroduced in systemd 232=yes -
ProtectKernelTunablesIntroduced in systemd 232=yes -
ProtectSystemIntroduced in systemd 214=full -
ProtectSystemIntroduced in systemd 214=strict -
ReadWritePaths=/var/lib/promtail -
Restart=always -
Restart=on-failure -
RestrictRealtimeIntroduced in systemd 231=yes -
RestrictSUIDSGIDIntroduced in systemd 242=yes -
SendSIGKILL=no -
SystemCallArchitectures=native -
SystemCallFilter=@system-service -
TimeoutStopSecIntroduced in systemd 188=10 -
TimeoutStopSecIntroduced in systemd 188=20s -
TimeoutStopSecIntroduced in systemd 188=30s -
Type=simple -
User=promtail -
User=root
-
-
[Unit]-
After=network-online.target -
Description=Promtail log ingress -
Description=promtail is the agent responsible for gathering logs and sending them to Loki. -
Documentation=https://github.com/grafana/loki/blob/master/docs/promtail.md -
Documentation=https://grafana.com/docs/loki/latest/clients/promtail/ -
Requires=network-online.target
-
Additionnal notes
Nothing here.