diff options
Diffstat (limited to 'net-libs/tox/files')
-rw-r--r-- | net-libs/tox/files/confd | 7 | ||||
-rw-r--r-- | net-libs/tox/files/initd | 35 |
2 files changed, 0 insertions, 42 deletions
diff --git a/net-libs/tox/files/confd b/net-libs/tox/files/confd deleted file mode 100644 index e4aac3ad..00000000 --- a/net-libs/tox/files/confd +++ /dev/null @@ -1,7 +0,0 @@ -# [--ipv4|--ipv6] -cmdline="" - -# open node -ip="" -port="" -key="" diff --git a/net-libs/tox/files/initd b/net-libs/tox/files/initd deleted file mode 100644 index 728cb6f5..00000000 --- a/net-libs/tox/files/initd +++ /dev/null @@ -1,35 +0,0 @@ -#!/sbin/runscript - -PIDFILE=/run/tox-dht-bootstrap.pid -LOGDIR=/var/log/tox-dht-bootstrap -RUNDIR=/var/lib/tox-dht-bootstrap - -depend() { - need net -} - -start() { - ebegin "Starting tox-dht-bootstrap daemon" - - [ -d "${LOGDIR}" ] || mkdir -p "${LOGDIR}" - [ -d "${RUNDIR}" ] || mkdir -p "${RUNDIR}" - chown -R nobody:nobody "${LOGDIR}" "${RUNDIR}" - - start-stop-daemon --start \ - --pidfile "${PIDFILE}" --make-pidfile --background \ - --stdout "${LOGDIR}/stdout" --stderr "${LOGDIR}/stderr" \ - --chdir "${RUNDIR}" \ - --user=nobody --group=nobody \ - --exec /usr/bin/DHT_bootstrap - - eend $? -} - -stop() { - ebegin "Stopping tox-dht-bootstrap daemon" - - start-stop-daemon --stop \ - --pidfile "${PIDFILE}" - - eend $? -} |