Skip to content

Commit 97f52e2

Browse files
committed
pm2 doesn't work with .bash
1 parent 9f8f23a commit 97f52e2

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

1_prerequisite.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ echo "
233233
# IMPORTANT MESSAGE #
234234
################################################################################
235235
# Make sure you have the below mentioned 2 files are available and populated #
236-
# as given below. Then start 'pm2 start 2_nodeStartPM2.bash' script to run your#
236+
# as given below. Then start 'pm2 start 2_nodeStartPM2.sh' script to run your#
237237
# node in the background. To view your node log use 'pm2 logs 0'. #
238238
# #
239239
# File 1: password.txt => contains your keystore password #
@@ -251,6 +251,6 @@ echo "
251251
# follow keystore password condition). #
252252
# #
253253
# NOTE: This 2 files have default contents, please change the mail & passwords #
254-
# before starting 'pm2 start 2_nodeStartPM2.bash'. #
254+
# before starting 'pm2 start 2_nodeStartPM2.sh'. #
255255
################################################################################
256256
################################################################################"
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/bin/bash
21
echo "<<<<<<<<<------------------STARTING PLUGIN NODE--------------------->>>>>>>>>"
32
echo "export ETH_CHAIN_ID=50
43
export ETH_URL=wss://ws.xinfin.network

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
<br/>
88

99
This repo contains the script for automation of the [Plugin](https://goplugin.co/) Node setup which can be used by the Node operators.
10-
There are 2 scripts in this repo(1_prerequisite.bash,2_nodeStartPM2.bash) & 2 files (apicredentials.txt, password.txt).
10+
There are 2 scripts in this repo(1_prerequisite.bash,2_nodeStartPM2.sh) & 2 files (apicredentials.txt, password.txt).
1111

1212
1) Before executing the 1_prerequisite.bash script, please change the database password
1313
to your own known password(we just given a default as 'postgres', just change 'your_password') at line number 202 of 1_prerequisite.bash.
1414
This script will install all the prerequisite tools, utilities for Plugin.
1515
- After successfull execution of 1_prerequisite.bash, kindly go through the instructions to be followed
16-
for executing 2_nodeStartPM2.bash as mentioned below.
16+
for executing 2_nodeStartPM2.sh as mentioned below.
1717
```
1818
################################################################################
1919
# IMPORTANT MESSAGE #
2020
################################################################################
2121
# Make sure you have the below mentioned 2 files are available and populated #
22-
# as given below. Then start 'pm2 start 2_nodeStartPM2.bash' script to run your#
22+
# as given below. Then start 'pm2 start 2_nodeStartPM2.sh' script to run your#
2323
# node in the background. To view your node log use 'pm2 logs 0'. #
2424
# #
2525
# File 1: password.txt => contains your keystore password #
@@ -37,11 +37,11 @@ This script will install all the prerequisite tools, utilities for Plugin.
3737
# follow keystore password condition). #
3838
# #
3939
# NOTE: This 2 files have default contents, please change the mail & passwords #
40-
# before starting 'pm2 start 2_nodeStartPM2.bash'. #
40+
# before starting 'pm2 start 2_nodeStartPM2.sh'. #
4141
################################################################################
4242
################################################################################
4343
```
44-
2) Now execute 2_nodeStartPM2.bash through pm2 'pm2 start 2_nodeStartPM2.bash'.
44+
2) Now execute 2_nodeStartPM2.sh through pm2 'pm2 start 2_nodeStartPM2.sh'.
4545
3) You can view the status(pm2 status 0) && logs(pm2 logs 0) of your running node
4646

4747

0 commit comments

Comments
 (0)