| [Unit] |
| Description=Dnc server |
| Documentation=man:dnc(1) |
| After=network.target |
| Wants=network-online.target |
| Documentation=https://git.jami.net/savoirfairelinux/dhtnet/blob/master/tools/dvpn/README.md |
| |
| [Service] |
| Type=exec |
| Environment="DHTNET_CACHE_DIR=/var/run/dhtnet" |
| ExecStart=@bindir@/dnc -l -d @sysconfdir@/dhtnet/dnc.yaml |
| Restart=on-failure |
| ProtectSystem=strict |
| ProtectKernelTunables=yes |
| ProtectKernelModules=yes |
| ProtectControlGroups=yes |
| PrivateDevices=yes |
| SystemCallFilter=@system-service |
| |
| [Install] |
| WantedBy=multi-user.target |