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

[Service]
Type=forking
PermissionsStartOnly=true
ExecStartPre=-/bin/mkdir /var/run/tox-bootstrapd -p
ExecStartPre=/bin/chown tox:tox -R /var/run/tox-bootstrapd
WorkingDirectory=/var/lib/tox-bootstrapd
ExecStart=/usr/bin/tox-bootstrapd /etc/tox-bootstrapd.conf
User=tox
Group=tox
PIDFile=/var/run/tox-bootstrapd/tox-bootstrapd.pid
#CapabilityBoundingSet=CAP_NET_BIND_SERVICE

[Install]
WantedBy=multi-user.target