[Unit] Description=ADS relay node After=network-online.target Wants=network-online.target [Service] Type=simple User=ads WorkingDirectory=/opt/ads EnvironmentFile=/etc/ads/relay.env Environment=GOMEMLIMIT=64MiB ExecStart=/opt/ads/ads-relay --id relay-1 --listen 127.0.0.1:18082 --capacity 128 Restart=on-failure RestartSec=3 NoNewPrivileges=true PrivateTmp=true ProtectSystem=strict ProtectHome=true MemoryMax=128M LimitNOFILE=8192 [Install] WantedBy=multi-user.target