Squashed 'external/toxcore/c-toxcore/' content from commit 67badf69
git-subtree-dir: external/toxcore/c-toxcore git-subtree-split: 67badf69416a74e74f6d7eb51dd96f37282b8455
This commit is contained in:
20
other/bootstrap_daemon/tox-bootstrapd.service
Normal file
20
other/bootstrap_daemon/tox-bootstrapd.service
Normal file
@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=Tox DHT Bootstrap Daemon
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
RuntimeDirectory=tox-bootstrapd
|
||||
RuntimeDirectoryMode=750
|
||||
PIDFile=/var/run/tox-bootstrapd/tox-bootstrapd.pid
|
||||
WorkingDirectory=/var/lib/tox-bootstrapd
|
||||
ExecStart=/usr/local/bin/tox-bootstrapd --config /etc/tox-bootstrapd.conf
|
||||
User=tox-bootstrapd
|
||||
Group=tox-bootstrapd
|
||||
# TCP Server needs to be able to have lots of TCP sockets open.
|
||||
LimitNOFILE=32768
|
||||
# Uncomment to allow binding to ports < 1024, e.g. 443 (HTTPS) for TCP Server
|
||||
#CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user