Gentoo Archives: gentoo-commits

From: Alexys Jacob <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/rethinkdb/files/, dev-db/rethinkdb/
Date: Mon, 27 May 2019 21:33:35
Message-Id: 1558992765.ea0400ccb86203c88a110216b3220df19c5f6f87.ultrabug@gentoo
1 commit: ea0400ccb86203c88a110216b3220df19c5f6f87
2 Author: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 27 21:32:45 2019 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Mon May 27 21:32:45 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea0400cc
7
8 dev-db/rethinkdb: last rite drop
9
10 Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org>
11
12 dev-db/rethinkdb/Manifest | 1 -
13 dev-db/rethinkdb/files/rethinkdb-2.3.5-gcc6.patch | 37 -----
14 .../rethinkdb/files/rethinkdb-2.3.5-libressl.patch | 162 ---------------------
15 dev-db/rethinkdb/files/rethinkdb.confd | 12 --
16 dev-db/rethinkdb/files/rethinkdb.initd | 49 -------
17 dev-db/rethinkdb/files/rethinkdb.service | 13 --
18 dev-db/rethinkdb/files/rethinkdb.tmpfilesd | 1 -
19 dev-db/rethinkdb/metadata.xml | 16 --
20 dev-db/rethinkdb/rethinkdb-2.3.6.ebuild | 139 ------------------
21 9 files changed, 430 deletions(-)
22
23 diff --git a/dev-db/rethinkdb/Manifest b/dev-db/rethinkdb/Manifest
24 deleted file mode 100644
25 index 454b1185670..00000000000
26 --- a/dev-db/rethinkdb/Manifest
27 +++ /dev/null
28 @@ -1 +0,0 @@
29 -DIST rethinkdb-2.3.6.tgz 76787356 BLAKE2B 291f5ff7f2574329e3c96a838a2b4a5f801fae5221612f97d9c6ac250f07e8b8495ce55e9b59fa6085328ef9b9061f63c90db088175458102d2ab319b08c3be1 SHA512 653177750f7439fa1d61a121e488d578be1eab90f87c7d17ad52b9793d8543f22bbe98f8d501c2ab2d7048c65118096430fe7bde945d87c7a3228905af801af2
30
31 diff --git a/dev-db/rethinkdb/files/rethinkdb-2.3.5-gcc6.patch b/dev-db/rethinkdb/files/rethinkdb-2.3.5-gcc6.patch
32 deleted file mode 100644
33 index e3d5eac88a4..00000000000
34 --- a/dev-db/rethinkdb/files/rethinkdb-2.3.5-gcc6.patch
35 +++ /dev/null
36 @@ -1,37 +0,0 @@
37 -Bug: https://bugs.gentoo.org/594220
38 -Commit: https://github.com/rethinkdb/rethinkdb/commit/871bd3705a1f29c4ab07a096d562a4b06231a97c
39 -
40 -From 871bd3705a1f29c4ab07a096d562a4b06231a97c Mon Sep 17 00:00:00 2001
41 -From: Etienne Laurin <etienne@×××××.com>
42 -Date: Wed, 16 Nov 2016 04:17:41 +0000
43 -Subject: [PATCH] Workaround for building V8 with GCC 6.2
44 -
45 ----
46 - mk/support/pkg/v8.sh | 6 ++++--
47 - 1 file changed, 4 insertions(+), 2 deletions(-)
48 -
49 -diff --git a/mk/support/pkg/v8.sh b/mk/support/pkg/v8.sh
50 -index dc339ad0715..97f4d336c03 100644
51 ---- a/mk/support/pkg/v8.sh
52 -+++ b/mk/support/pkg/v8.sh
53 -@@ -44,8 +44,10 @@ pkg_install () {
54 - arm*) arch=arm; arch_gypflags=$raspberry_pi_gypflags ;;
55 - *) arch=native ;;
56 - esac
57 -+
58 - mode=release
59 -- pkg_make $arch.$mode CXX=$CXX LINK=$CXX LINK.target=$CXX GYPFLAGS="-Dwerror= $arch_gypflags" V=1
60 -+ pkg_make $arch.$mode CXX=$CXX LINK=$CXX LINK.target=$CXX GYPFLAGS="-Dwerror= -Dv8_use_snapshot=false $arch_gypflags" V=1
61 -+
62 - for lib in `find "$build_dir/out/$arch.$mode" -maxdepth 1 -name \*.a` `find "$build_dir/out/$arch.$mode/obj.target" -name \*.a`; do
63 - name=`basename $lib`
64 - cp $lib "$install_dir/lib/${name/.$arch/}"
65 -@@ -56,7 +58,7 @@ pkg_install () {
66 - pkg_link-flags () {
67 - # These are the necessary libraries recommended by the docs:
68 - # https://developers.google.com/v8/get_started#hello
69 -- for lib in libv8_{base,libbase,snapshot,libplatform}; do
70 -+ for lib in libv8_{base,nosnapshot,libbase,libplatform}; do
71 - echo "$install_dir/lib/$lib.a"
72 - done
73 - for lib in libicu{i18n,uc,data}; do
74
75 diff --git a/dev-db/rethinkdb/files/rethinkdb-2.3.5-libressl.patch b/dev-db/rethinkdb/files/rethinkdb-2.3.5-libressl.patch
76 deleted file mode 100644
77 index b79850b0b6b..00000000000
78 --- a/dev-db/rethinkdb/files/rethinkdb-2.3.5-libressl.patch
79 +++ /dev/null
80 @@ -1,162 +0,0 @@
81 -Bug: https://bugs.gentoo.org/594998
82 -Issue: https://github.com/rethinkdb/rethinkdb/issues/6336
83 -Patch: https://git.alpinelinux.org/cgit/aports/tree/community/rethinkdb/libressl.patch?id=146fb0d67a1b861d5c776d97f533efe0bb26af7a
84 -
85 -From d52a694a806c1a8b6dd4d7d17d0671a96240449a Mon Sep 17 00:00:00 2001
86 -From: Natanael Copa <ncopa@×××××××××××.org>
87 -Date: Wed, 4 Jan 2017 15:31:40 +0100
88 -Subject: [PATCH] Improve OpenSSL compatibility
89 -
90 -Refactor the conditionals for openssl 1.1 support so we avoid multiple
91 -if/else and add a check for LibreSSL as well.
92 ----
93 - src/crypto/hash.cc | 13 +++++--------
94 - src/crypto/hmac.cc | 34 ++++++++++++++++++----------------
95 - src/crypto/initialization_guard.cc | 15 ++++++---------
96 - 3 files changed, 29 insertions(+), 33 deletions(-)
97 -
98 -diff --git a/src/crypto/hash.cc b/src/crypto/hash.cc
99 -index 4427dfddeb..e035f695fc 100644
100 ---- a/src/crypto/hash.cc
101 -+++ b/src/crypto/hash.cc
102 -@@ -8,27 +8,24 @@
103 -
104 - #include "crypto/error.hpp"
105 -
106 -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
107 -+#define EVP_MD_CTX_new EVP_MD_CTX_create
108 -+#define EVP_MD_CTX_free EVP_MD_CTX_destroy
109 -+#endif
110 -+
111 - namespace crypto {
112 -
113 - class evp_md_ctx_wrapper_t {
114 - public:
115 - evp_md_ctx_wrapper_t() {
116 --#if OPENSSL_VERSION_NUMBER < 0x10100000L
117 -- m_evp_md_ctx = EVP_MD_CTX_create();
118 --#else
119 - m_evp_md_ctx = EVP_MD_CTX_new();
120 --#endif
121 - if (m_evp_md_ctx == nullptr) {
122 - throw openssl_error_t(ERR_get_error());
123 - }
124 - }
125 -
126 - ~evp_md_ctx_wrapper_t() {
127 --#if OPENSSL_VERSION_NUMBER < 0x10100000L
128 -- EVP_MD_CTX_destroy(m_evp_md_ctx);
129 --#else
130 - EVP_MD_CTX_free(m_evp_md_ctx);
131 --#endif
132 - }
133 -
134 - EVP_MD_CTX *get() {
135 -diff --git a/src/crypto/hmac.cc b/src/crypto/hmac.cc
136 -index 2ac4314e24..0e3f91a0c1 100644
137 ---- a/src/crypto/hmac.cc
138 -+++ b/src/crypto/hmac.cc
139 -@@ -7,43 +7,45 @@
140 -
141 - #include "crypto/error.hpp"
142 -
143 -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
144 -+
145 -+inline HMAC_CTX *HMAC_CTX_new() {
146 -+ HMAC_CTX *tmp = (HMAC_CTX *)OPENSSL_malloc(sizeof(HMAC_CTX));
147 -+ if (tmp)
148 -+ HMAC_CTX_init(tmp);
149 -+ return tmp;
150 -+}
151 -+
152 -+inline void HMAC_CTX_free(HMAC_CTX *ctx) {
153 -+ if (ctx) {
154 -+ HMAC_CTX_cleanup(ctx);
155 -+ OPENSSL_free(ctx);
156 -+ }
157 -+}
158 -+
159 -+#endif
160 -+
161 - namespace crypto {
162 -
163 - class hmac_ctx_wrapper_t {
164 - public:
165 - hmac_ctx_wrapper_t() {
166 --#if OPENSSL_VERSION_NUMBER < 0x10100000L
167 -- HMAC_CTX_init(&m_hmac_ctx);
168 --#else
169 - m_hmac_ctx = HMAC_CTX_new();
170 - if (m_hmac_ctx == nullptr) {
171 - throw openssl_error_t(ERR_get_error());
172 - }
173 --#endif
174 - }
175 -
176 - ~hmac_ctx_wrapper_t() {
177 --#if OPENSSL_VERSION_NUMBER < 0x10100000L
178 -- HMAC_CTX_cleanup(&m_hmac_ctx);
179 --#else
180 - HMAC_CTX_free(m_hmac_ctx);
181 --#endif
182 - }
183 -
184 - HMAC_CTX *get() {
185 --#if OPENSSL_VERSION_NUMBER < 0x10100000L
186 -- return &m_hmac_ctx;
187 --#else
188 - return m_hmac_ctx;
189 --#endif
190 - }
191 -
192 - private:
193 --#if OPENSSL_VERSION_NUMBER < 0x10100000L
194 -- HMAC_CTX m_hmac_ctx;
195 --#else
196 - HMAC_CTX *m_hmac_ctx;
197 --#endif
198 - };
199 -
200 - std::array<unsigned char, SHA256_DIGEST_LENGTH> detail::hmac_sha256(
201 -diff --git a/src/crypto/initialization_guard.cc b/src/crypto/initialization_guard.cc
202 -index ba0503efc6..f76ffd96da 100644
203 ---- a/src/crypto/initialization_guard.cc
204 -+++ b/src/crypto/initialization_guard.cc
205 -@@ -14,16 +14,17 @@
206 - #include "arch/io/concurrency.hpp"
207 - #include "arch/runtime/runtime.hpp"
208 -
209 -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
210 -+#define OPENSSL_init_ssl(x, y) SSL_library_init()
211 -+#define OPENSSL_init_crypto(x, y) SSL_load_error_strings()
212 -+#define OPENSSL_cleanup ERR_free_strings
213 -+#endif
214 -+
215 - namespace crypto {
216 -
217 - initialization_guard_t::initialization_guard_t() {
218 --#if OPENSSL_VERSION_NUMBER < 0x10100000L
219 -- SSL_library_init();
220 -- SSL_load_error_strings();
221 --#else
222 - OPENSSL_init_ssl(0, nullptr);
223 - OPENSSL_init_crypto(0, nullptr);
224 --#endif
225 -
226 - // Make OpenSSL thread-safe by registering the required callbacks
227 - CRYPTO_THREADID_set_callback([](CRYPTO_THREADID *thread_out) {
228 -@@ -49,11 +50,7 @@ initialization_guard_t::initialization_guard_t() {
229 - }
230 -
231 - initialization_guard_t::~initialization_guard_t() {
232 --#if OPENSSL_VERSION_NUMBER < 0x10100000L
233 -- ERR_free_strings();
234 --#else
235 - OPENSSL_cleanup();
236 --#endif
237 - }
238 -
239 - } // namespace crypto
240 ---
241 -2.11.0
242 -
243
244 diff --git a/dev-db/rethinkdb/files/rethinkdb.confd b/dev-db/rethinkdb/files/rethinkdb.confd
245 deleted file mode 100644
246 index af65794a44b..00000000000
247 --- a/dev-db/rethinkdb/files/rethinkdb.confd
248 +++ /dev/null
249 @@ -1,12 +0,0 @@
250 -# !! IMPORTANT !!
251 -#
252 -# This file is ONLY used to override some of the init script configuration.
253 -#
254 -# You should NOT use this file to configure your rethinkdb instance,
255 -# see the /etc/rethinkdb/default.conf.sample file instead.
256 -#
257 -# Available init script modifiers :
258 -# - config_file : the configuration file to use (default : /etc/rethinkdb/instance.d/<instance-name>.conf)
259 -# - user : the user used to run your rethinkdb instance (default : rethinkdb)
260 -# - group : the group used to run your rethinkdb instance (default : rethinkdb)
261 -# - run_dir : the run directory for your PID files (default : /run/rethinkdb)
262 \ No newline at end of file
263
264 diff --git a/dev-db/rethinkdb/files/rethinkdb.initd b/dev-db/rethinkdb/files/rethinkdb.initd
265 deleted file mode 100644
266 index 9f55aa49c8e..00000000000
267 --- a/dev-db/rethinkdb/files/rethinkdb.initd
268 +++ /dev/null
269 @@ -1,49 +0,0 @@
270 -#!/sbin/openrc-run
271 -# Copyright 1999-2016 Gentoo Foundation
272 -# Distributed under the terms of the GNU General Public License v2
273 -
274 -instance_name=${SVCNAME/*.}
275 -config_file=${config_file:-/etc/rethinkdb/instances.d/${instance_name}.conf}
276 -run_dir=${run_dir:-/run/rethinkdb}
277 -
278 -command="/usr/bin/rethinkdb"
279 -command_args="--config-file ${config_file}"
280 -command_background="true"
281 -pidfile=${run_dir}/${instance_name}.pid
282 -user=${user:-rethinkdb}
283 -group=${group:-rethinkdb}
284 -start_stop_daemon_args="--user ${user} --group ${group} --wait 2000"
285 -
286 -depend() {
287 - use net
288 -}
289 -
290 -start_pre() {
291 - checkpath -d -m 0750 -o "${user}":"${group}" "${run_dir}"
292 - if [ "${instance_name}" == "rethinkdb" ]; then
293 - eerror "You should not run this default init script directly"
294 - eerror "Create a symlink to an instance name"
295 - eerror "and create a configuration file in /etc/rethinkdb/instances.d/"
296 - eerror "then run this instance init script instead."
297 - return 1
298 - fi
299 - if [ ! -f ${config_file} ]; then
300 - eerror "Missing configuration file ${config_file}"
301 - return 1
302 - else
303 - # respect configured directory or set a default
304 - directory=$(egrep -e '^directory=' "${config_file}" | cut -d'=' -f2)
305 - if [ -z "${directory}" ]; then
306 - directory=/var/lib/rethinkdb/instances.d/"${instance_name}"
307 - fi
308 - checkpath -d -m 0750 -o "${user}":"${group}" "${directory}"
309 - command_args="${command_args} --directory ${directory}"
310 -
311 - # respect configured log-file or set a default
312 - log_file=$(egrep -e '^log_file=' "${config_file}" | cut -d'=' -f2)
313 - if [ -z "${log_file}" ]; then
314 - log_file=/var/log/rethinkdb/"${instance_name}".log
315 - fi
316 - command_args="${command_args} --log-file ${log_file}"
317 - fi
318 -}
319
320 diff --git a/dev-db/rethinkdb/files/rethinkdb.service b/dev-db/rethinkdb/files/rethinkdb.service
321 deleted file mode 100644
322 index 09645c2ae6a..00000000000
323 --- a/dev-db/rethinkdb/files/rethinkdb.service
324 +++ /dev/null
325 @@ -1,13 +0,0 @@
326 -[Unit]
327 -Description=RethinkDB database server for instance '%i'
328 -
329 -[Service]
330 -User=rethinkdb
331 -Group=rethinkdb
332 -ExecStart=/usr/bin/rethinkdb serve --config-file /etc/rethinkdb/instances.d/%i.conf
333 -KillMode=process
334 -PrivateTmp=true
335 -
336 -[Install]
337 -WantedBy=multi-user.target
338 -
339
340 diff --git a/dev-db/rethinkdb/files/rethinkdb.tmpfilesd b/dev-db/rethinkdb/files/rethinkdb.tmpfilesd
341 deleted file mode 100644
342 index 694501e8ab5..00000000000
343 --- a/dev-db/rethinkdb/files/rethinkdb.tmpfilesd
344 +++ /dev/null
345 @@ -1 +0,0 @@
346 -d /run/rethinkdb 0755 rethinkdb rethinkdb -
347 \ No newline at end of file
348
349 diff --git a/dev-db/rethinkdb/metadata.xml b/dev-db/rethinkdb/metadata.xml
350 deleted file mode 100644
351 index 48fd46f6600..00000000000
352 --- a/dev-db/rethinkdb/metadata.xml
353 +++ /dev/null
354 @@ -1,16 +0,0 @@
355 -<?xml version="1.0" encoding="UTF-8"?>
356 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
357 -<pkgmetadata>
358 - <maintainer type="person">
359 - <email>ultrabug@g.o</email>
360 - <name>Ultrabug</name>
361 - </maintainer>
362 - <use>
363 - <flag name="tcmalloc">
364 - Use tcmalloc from <pkg>dev-util/google-perftools</pkg> for allocations.
365 - </flag>
366 - </use>
367 - <upstream>
368 - <bugs-to>https://github.com/rethinkdb/rethinkdb/issues</bugs-to>
369 - </upstream>
370 -</pkgmetadata>
371
372 diff --git a/dev-db/rethinkdb/rethinkdb-2.3.6.ebuild b/dev-db/rethinkdb/rethinkdb-2.3.6.ebuild
373 deleted file mode 100644
374 index 3c1b8ac0ee8..00000000000
375 --- a/dev-db/rethinkdb/rethinkdb-2.3.6.ebuild
376 +++ /dev/null
377 @@ -1,139 +0,0 @@
378 -# Copyright 1999-2018 Gentoo Foundation
379 -# Distributed under the terms of the GNU General Public License v2
380 -
381 -EAPI="6"
382 -
383 -inherit python-utils-r1 systemd user
384 -
385 -DESCRIPTION="The open-source database for the realtime web."
386 -HOMEPAGE="https://www.rethinkdb.com"
387 -LICENSE="AGPL-3"
388 -SLOT="0"
389 -SRC_URI="https://download.rethinkdb.com/dist/${P}.tgz"
390 -
391 -KEYWORDS="~amd64 ~x86"
392 -IUSE="doc +jemalloc tcmalloc"
393 -
394 -# TODO: rly need some webui libs ?
395 -DEPEND=">=dev-libs/re2-0.2016.05.01
396 - dev-cpp/gtest
397 - dev-libs/boost
398 - dev-libs/protobuf-c
399 - net-misc/curl
400 - sys-libs/libunwind
401 - sys-libs/ncurses:=
402 - jemalloc? ( >=dev-libs/jemalloc-4.0 )
403 - tcmalloc? ( dev-util/google-perftools )"
404 -RDEPEND="${DEPEND}"
405 -REQUIRED_USE="?? ( tcmalloc jemalloc )"
406 -
407 -pkg_setup() {
408 - enewgroup rethinkdb
409 - enewuser rethinkdb -1 -1 /var/lib/${PN} rethinkdb
410 -}
411 -
412 -PATCHES=(
413 - "${FILESDIR}"/${PN}-2.3.5-gcc6.patch
414 - "${FILESDIR}"/${PN}-2.3.5-libressl.patch
415 -)
416 -
417 -src_prepare() {
418 - default
419 -
420 - # don't use predefined configuration
421 - rm configure.default
422 -
423 - # fix doc and init script auto installation
424 - sed -e 's/ install-docs / /g' -e 's/ install-init / /g' -i mk/install.mk || die
425 -
426 - # default config for Gentoo
427 - # fix default pid-file path
428 - # fix default directory path
429 - # fix default log-file path
430 - sed -e 's@/var/run/@/run/@g' \
431 - -e 's@/var/lib/rethinkdb/@/var/lib/rethinkdb/instances.d/@g' \
432 - -e 's@/var/log/rethinkdb@/var/log/rethinkdb/default.log@g' \
433 - -i packaging/assets/config/default.conf.sample || die
434 -
435 - # proper CXX declaration
436 - sed -e "s/CXX=\$(.*/CXX=$(tc-getCXX)/g" -i configure || die
437 -
438 - # respect user CXXFLAGS optimizations
439 - sed -e 's/-O3//g' -i src/build.mk || die
440 -}
441 -
442 -src_configure() {
443 - local conf_opts=(
444 - --prefix="/usr"
445 - --sysconfdir="/etc"
446 - --localstatedir="/var"
447 - --static=none
448 - --dynamic=gtest
449 - --dynamic=re2
450 - )
451 - if use jemalloc; then
452 - conf_opts+=(--with-jemalloc)
453 - elif use tcmalloc; then
454 - conf_opts+=(--with-tcmalloc)
455 - else
456 - conf_opts+=(--with-system-malloc)
457 - fi
458 - ./configure "${conf_opts[@]}"
459 -}
460 -
461 -src_compile() {
462 - python_export python2.7 EPYTHON
463 - emake VERBOSE=1
464 -}
465 -
466 -src_install() {
467 - emake DESTDIR="${D}" VERBOSE=1 install
468 -
469 - for x in /var/{lib,log}/${PN}; do
470 - keepdir "${x}"
471 - fowners rethinkdb:rethinkdb "${x}"
472 - done
473 -
474 - newconfd "${FILESDIR}/rethinkdb.confd" rethinkdb
475 - newinitd "${FILESDIR}/rethinkdb.initd" rethinkdb
476 -
477 - systemd_newunit "${FILESDIR}/"${PN}.service "rethinkdb@.service"
478 - systemd_newtmpfilesd "${FILESDIR}"/${PN}.tmpfilesd "rethinkdb.conf"
479 -
480 - use doc && dodoc COPYRIGHT NOTES.md README.md
481 -}
482 -
483 -pkg_config() {
484 - einfo "This will prepare a new RethinkDB instance. Press Control-C to abort."
485 -
486 - einfo "Enter the name for the new instance: "
487 - read instance_name
488 - [[ -z "${instance_name}" ]] && die "Invalid instance name"
489 -
490 - local instance_data="/var/lib/rethinkdb/instances.d/${instance_name}"
491 - local instance_config="/etc/rethinkdb/instances.d/${instance_name}.conf"
492 - if [[ -e "${instance_data}" || -e "${instance_config}" ]]; then
493 - eerror "An instance with the same name already exists:"
494 - eerror "Check ${instance_data} or ${instance_config}."
495 - die "Instance already exists"
496 - fi
497 -
498 - /usr/bin/rethinkdb create -d "${instance_data}" &>/dev/null \
499 - || die "Creating instance failed"
500 - chown -R rethinkdb:rethinkdb "${instance_data}" \
501 - || die "Correcting permissions for instance failed"
502 - cp /etc/rethinkdb/default.conf.sample "${instance_config}" \
503 - || die "Creating configuration file failed"
504 - sed -e "s:^# \(directory=\).*$:\1${instance_data}:" \
505 - -i "${instance_config}" \
506 - || die "Modifying configuration file failed"
507 - ln -s /etc/init.d/rethinkdb "/etc/init.d/rethinkdb.${instance_name}" \
508 - || die "Creating init script symlink failed"
509 -
510 - einfo "Successfully created the instance at ${instance_data}."
511 - einfo "To change the default settings edit the configuration file:"
512 - einfo "${instance_config}"
513 - einfo " "
514 - einfo "To start your instance, run:"
515 - einfo "/etc/init.d/rethinkdb.${instance_name} start"
516 -}