[Unit] Description=SDP gateway agent Documentation=https://github.com/sdp After=network-online.target docker.service Wants=network-online.target Requires=docker.service [Service] Type=simple User=administrator WorkingDirectory=/home/administrator # SDP_CP_URL points at the control plane. Default is the production # topology (both on 186, dialed over loopback). Override by creating # /etc/default/sdp-agent-gateway with `SDP_CP_URL=...`. Environment=SDP_CP_URL=ws://127.0.0.1:3452/ws/agent EnvironmentFile=-/etc/default/sdp-agent-gateway ExecStart=/home/administrator/SDP/bin/agent-gateway -node gateway -cp ${SDP_CP_URL} Restart=always RestartSec=2s MemoryMax=256M [Install] WantedBy=multi-user.target