hns_doh_loadbalancer/hsd.service

22 lines
427 B
SYSTEMD
Raw Permalink Normal View History

2024-06-20 13:58:44 +10:00
[Unit]
Description=hsd
After=network.target
[Service]
Type=simple
Restart=always
RestartSec=1
User=root
Environment=HSD_PREFIX=/root/.hsd
ExecStart=/root/.nvm/versions/node/v20.14.0/bin/node /root/hsd/bin/hsd \
--spv \
--api-key=8xJc4QC1j1xJYbo3 \
--rs-host=0.0.0.0 \
--agent=HNSDoH \
--http-host=0.0.0.0 \
--wallet-http-host=0.0.0.0 \
--rs-port=5353 \
--log-level=warning
[Install]
WantedBy=multi-user.target