Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aos
GitHub Repository: aos/grafana-agent
Path: blob/main/packaging/grafana-agent-flow/deb/grafana-agent-flow.service
5460 views
[Unit]
Description=Vendor-neutral programmable observability pipelines.
Documentation=https://grafana.com/docs/agent/latest/flow/
Wants=network-online.target
After=network-online.target

[Service]
Restart=always
User=grafana-agent-flow
Environment=HOSTNAME=%H
EnvironmentFile=/etc/default/grafana-agent-flow
WorkingDirectory=/var/lib/grafana-agent-flow
ExecStart=/usr/bin/grafana-agent-flow run $CUSTOM_ARGS --storage.path=/var/lib/grafana-agent-flow $CONFIG_FILE
ExecReload=/usr/bin/kill -HUP $MAINPID
TimeoutStopSec=20s
SendSIGKILL=no

[Install]
WantedBy=multi-user.target