From 3a33f2966f834d3520b03df59018e3d0295fcc69 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Mon, 24 Aug 2015 20:45:13 +0300 Subject: [toxcore] adaugat toxcore --- net-libs/tox/files/tox-bootstrapd.service | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 net-libs/tox/files/tox-bootstrapd.service (limited to 'net-libs/tox/files/tox-bootstrapd.service') diff --git a/net-libs/tox/files/tox-bootstrapd.service b/net-libs/tox/files/tox-bootstrapd.service new file mode 100644 index 00000000..1581026c --- /dev/null +++ b/net-libs/tox/files/tox-bootstrapd.service @@ -0,0 +1,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 -- cgit v1.2.3