summaryrefslogtreecommitdiff
path: root/packages/net-libs/tox/files/systemd/tox-bootstrapd.service
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-06-24 16:48:00 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-06-24 16:48:00 +0300
commit9ab7e7279a75c7bc12878275c8211b88ec8b7796 (patch)
treef3f4fa5cafe326bf4c810782955ea1e899949d05 /packages/net-libs/tox/files/systemd/tox-bootstrapd.service
parentf4c008270b6e48921c7c2901e7d9952a3a2554a4 (diff)
tox-core
Diffstat (limited to 'packages/net-libs/tox/files/systemd/tox-bootstrapd.service')
-rw-r--r--packages/net-libs/tox/files/systemd/tox-bootstrapd.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/net-libs/tox/files/systemd/tox-bootstrapd.service b/packages/net-libs/tox/files/systemd/tox-bootstrapd.service
new file mode 100644
index 0000000..ae2f238
--- /dev/null
+++ b/packages/net-libs/tox/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