summaryrefslogtreecommitdiff
path: root/net-libs/tox/files/tox-bootstrapd.service
blob: aec928c7054ee5464491b6474e07e1023b4e73c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Tox DHT Bootstrap Daemon
After=network.target

[Service]
User=tox
Group=tox
#Since the daemon can use around 600 tcp sockets,
#increase the soft limit on open files to 4096
LimitNOFILE=4096
RuntimeDirectory=tox-bootstrapd
RuntimeDirectoryMode=750
PIDFile=/run/tox-bootstrapd/tox-bootstrapd.pid
WorkingDirectory=/var/lib/tox-bootstrapd
ExecStart=/usr/bin/tox-bootstrapd --config /etc/tox-bootstrapd.conf
#CapabilityBoundingSet=CAP_NET_BIND_SERVICE

[Install]
WantedBy=multi-user.target