mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-08 06:09:43 +02:00
Added some features from the tox main git tree. The primary change is to increase the maximum number of files that can be open. This is desired because the tox dht daemon has around 600 files open; which is near the default limit of 1024 (on some systems). Signed-off-by: Josiah Mullins <JoMull01@protonmail.com> Signed-off-by: Pacho Ramos <pacho@gentoo.org>
19 lines
504 B
Desktop File
19 lines
504 B
Desktop File
[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
|