You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2021/01/20 23:05:03 UTC

[couchdb] 02/02: Rename boot_node to monitor_parent

This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a commit to branch 3.x-devnode-boot-script
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit e123adf499f345bbd7aaacc91a58d9d29e30fa20
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Wed Jan 20 18:03:18 2021 -0500

    Rename boot_node to monitor_parent
---
 .gitignore                                | 2 +-
 Makefile                                  | 2 +-
 dev/{boot_node.erl => monitor_parent.erl} | 2 +-
 dev/run                                   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.gitignore b/.gitignore
index f84b9f6..039d139 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,7 +22,7 @@ bin/
 config.erl
 *.tar.gz
 *.tar.bz2
-dev/boot_node.beam
+dev/*.beam
 dev/devnode.*
 dev/lib/
 dev/logs/
diff --git a/Makefile b/Makefile
index 6815f38..873019f 100644
--- a/Makefile
+++ b/Makefile
@@ -410,7 +410,7 @@ clean:
 	@rm -rf src/mango/.venv
 	@rm -f src/couch/priv/couchspawnkillable
 	@rm -f src/couch/priv/couch_js/config.h
-	@rm -f dev/boot_node.beam dev/devnode.* dev/pbkdf2.pyc log/crash.log
+	@rm -f dev/*.beam dev/devnode.* dev/pbkdf2.pyc log/crash.log
 
 
 .PHONY: distclean
diff --git a/dev/boot_node.erl b/dev/monitor_parent.erl
similarity index 98%
rename from dev/boot_node.erl
rename to dev/monitor_parent.erl
index e4ed513..382f37e 100644
--- a/dev/boot_node.erl
+++ b/dev/monitor_parent.erl
@@ -10,7 +10,7 @@
 % License for the specific language governing permissions and limitations under
 % the License.
 
--module(boot_node).
+-module(monitor_parent).
 
 -export([start/0]).
 
diff --git a/dev/run b/dev/run
index 210895a..21f1502 100755
--- a/dev/run
+++ b/dev/run
@@ -624,8 +624,8 @@ def boot_node(ctx, node):
         os.path.join(ctx["devdir"], "devnode"),
         "-pa",
         ctx["devdir"],
+        "-s monitor_parent"
     ]
-    cmd += ["-s", "boot_node"]
     if ctx["reset_logs"]:
         mode = "wb"
     else: