/lib/systemd/system/dhtnode.service is in dhtnode 1.6.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | [Unit]
Description=OpenDHT standalone node
After=network.target
Documentation=man:dhtnode(1)
[Service]
User=opendht
Group=opendht
EnvironmentFile=/etc/default/dhtnode
ExecStart=/usr/bin/dhtnode -s $DHT_ARGS
Restart=on-failure
[Install]
WantedBy=multi-user.target
|