From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp17.mail.ru (smtp17.mail.ru [94.100.176.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id AE9874696C3 for ; Wed, 29 Apr 2020 15:20:54 +0300 (MSK) From: Olga Arkhangelskaia Date: Wed, 29 Apr 2020 15:20:38 +0300 Message-Id: <20200429122038.53296-1-arkholga@tarantool.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH] core: don't start example instance in postinstall List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org After taratool installation on Debuan/Ubuntu from repo, example instance was automatically started over 3301 port. On the other hand example instance on RHEL/CentOS is started manually. Patch does the same for Debian/Ubuntu. Closes #4507 @TarantoolBot document Title: manage example instance after installation After tarantool installation from repos on all distros example instance should be managed manually. --- Branch: https://github.com/tarantool/tarantool/tree/gh-4507-disable-start-example-instance debian/tarantool-common.postinst | 8 -------- 1 file changed, 8 deletions(-) diff --git a/debian/tarantool-common.postinst b/debian/tarantool-common.postinst index e2eda3415..03e4b2215 100644 --- a/debian/tarantool-common.postinst +++ b/debian/tarantool-common.postinst @@ -22,14 +22,6 @@ case "$1" in install -d -o$SYSUSER -gadm -m2750 /var/log/tarantool install -d -o$SYSUSER -g$SYSUSER -m750 /var/run/tarantool install -d -o$SYSUSER -g$SYSUSER -m750 /var/lib/tarantool - - # Enable example.lua by default - if [ -z $2 ] && [ ! -e /etc/tarantool/instances.enabled/example.lua ] && - [ -d /etc/tarantool/instances.enabled ] && - [ -d /etc/tarantool/instances.available/ ]; then - ln -s /etc/tarantool/instances.available/example.lua \ - /etc/tarantool/instances.enabled/example.lua - fi ;; esac -- 2.20.1 (Apple Git-117)