This unit is provided by:
Options
-
[Install]
-
WantedBy=multi-user.target
-
-
[Service]
-
DynamicUser=yes
-
Environment=HOSTNAME=%H
-
ExecStart=/usr/bin/grafana-agent --config.file /etc/grafana-agent.yaml
-
ExecStart=/usr/bin/grafana-agent-start
-
MemoryDenyWriteExecute
Introduced in systemd 231=yes -
NoNewPrivileges
Introduced in systemd 239=yes -
PrivateTmp=yes
-
ProtectControlGroups
Introduced in systemd 232=yes -
ProtectHome
Introduced in systemd 214=yes -
ProtectKernelModules
Introduced in systemd 232=yes -
ProtectKernelTunables
Introduced in systemd 232=yes -
ProtectSystem
Introduced in systemd 214=strict -
ReadWritePaths=/var/lib/grafana-agent
-
Restart=always
-
RestartSec=2
-
RestrictRealtime
Introduced in systemd 231=yes -
SendSIGKILL=no
-
StateDirectory=grafana-agent
-
SupplementaryGroups=systemd-journal
-
TimeoutStopSec
Introduced in systemd 188=20s -
Type=simple
-
User=grafana-agent
-
-
[Unit]
-
After=network-online.target
-
Description=Grafana Agent monitoring system and forwarder
-
Documentation=https://grafana.com/docs/agent/
-
Wants=network-online.target
-
Additionnal notes
Nothing here.