mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
21 lines
395 B
Plaintext
21 lines
395 B
Plaintext
[Unit]
|
|
Description=OpenDHT node cluster
|
|
After=network.target
|
|
|
|
[Service]
|
|
EnvironmentFile=@sysconfdir@/dhtcluster.conf
|
|
ExecStart=@bindir@/dhtcluster -s $DHT_ARGS
|
|
KillMode=process
|
|
Restart=on-failure
|
|
Type=simple
|
|
ProtectSystem=strict
|
|
ProtectHome=yes
|
|
ProtectKernelTunables=yes
|
|
ProtectKernelModules=yes
|
|
ProtectControlGroups=yes
|
|
PrivateDevices=yes
|
|
PrivateUsers=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|