[Unit] Description=Xingugu operations monitor After=network-online.target Wants=network-online.target [Service] Type=simple User=xingugu Group=xingugu EnvironmentFile=/etc/xingugu/agent.env ExecStart=/usr/local/bin/xingugu watch --config /etc/xingugu/agent.json Restart=on-failure RestartSec=5s NoNewPrivileges=true PrivateTmp=true ProtectHome=true ProtectSystem=strict [Install] WantedBy=multi-user.target