summaryrefslogtreecommitdiff
path: root/packages/net-libs/toxcore/files/systemd/tox-bootstrapd.service
diff options
context:
space:
mode:
Diffstat (limited to 'packages/net-libs/toxcore/files/systemd/tox-bootstrapd.service')
-rw-r--r--packages/net-libs/toxcore/files/systemd/tox-bootstrapd.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/net-libs/toxcore/files/systemd/tox-bootstrapd.service b/packages/net-libs/toxcore/files/systemd/tox-bootstrapd.service
new file mode 100644
index 0000000..ae2f238
--- /dev/null
+++ b/packages/net-libs/toxcore/files/systemd/tox-bootstrapd.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Tox DHT Bootstrap Daemon
+After=network.target
+
+[Service]
+User=tox
+Group=tox
+RuntimeDirectory=tox-bootstrapd
+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