[Unit] Description=Grafana Alloy (User Mode) Documentation=https://grafana.com/docs/alloy/ After=network.target [Service] Type=simple # Path to your binary and config ExecStart=/var/www/we8upmb/htdocs/scripts/export_bins/alloy run \ --storage.path=/var/www/we8upmb/htdocs/scripts/export_bins/alloy-data \ /var/www/we8upmb/htdocs/scripts/export_bins/config.alloy Restart=always RestartSec=10 StandardOutput=journal StandardError=journal SyslogIdentifier=grafana-alloy # Resource limits (optional) LimitNOFILE=65536 [Install] WantedBy=default.target