[Unit] Description=Beszel Agent Service After=network.target [Service] Environment="PORT=45877" Environment="KEY={PUBLIC_KEY}" ExecStart=/opt/beszel-agent/beszel-agent User=beszel Restart=always RestartSec=5 [Install] WantedBy=multi-user.target