diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-30 07:33:37 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-07-30 07:33:37 +0300 |
commit | 3c523f1a24d6151378a9d606fed84599f307c8ff (patch) | |
tree | b14376480c8bb5809fc7b2e30c7bca1ac8e94082 /packages/net-libs/toxcore/files/initd | |
parent | 9f7a188d5ce2ce39264f3a84590f429eaf8baf50 (diff) |
toxcore: fixed "deamon" option
Diffstat (limited to 'packages/net-libs/toxcore/files/initd')
-rw-r--r-- | packages/net-libs/toxcore/files/initd | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/packages/net-libs/toxcore/files/initd b/packages/net-libs/toxcore/files/initd deleted file mode 100644 index 101d329..0000000 --- a/packages/net-libs/toxcore/files/initd +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/openrc-run - -PIDDIR=/run/tox-bootstrapd -PIDFILE="${PIDDIR}"/tox-bootstrap.pid - -depend() { - need net -} - -start() { - ebegin "Starting tox-dht-bootstrap daemon" - - checkpath -d -q -o "${TOX_USER}":"${TOX_GROUP}" "${PIDDIR}" - - start-stop-daemon --start \ - --pidfile "${PIDFILE}" \ - --user="${TOX_USER}" --group="${TOX_GROUP}" \ - --exec /usr/bin/tox-bootstrapd -- --config /etc/tox-bootstrapd.conf - - eend $? -} - -stop() { - ebegin "Stopping tox-dht-bootstrap daemon" - - start-stop-daemon --stop \ - --pidfile "${PIDFILE}" - - eend $? -} |