Fixes
This commit is contained in:
1 parent
4e78a24b6a
commit
4a51d910e4
1 file changed
+3
-3
+3
-3
@@ -174,9 +174,8 @@ echo "📦 Installing npm dependencies..."
|
|||||||
npm install -silent
|
npm install -silent
|
||||||
|
|
||||||
# Copy configuration file
|
# Copy configuration file
|
||||||
echo "📑 Checking if config.js exists..."
|
|
||||||
if [ -e config.js ]; then
|
if [ -e config.js ]; then
|
||||||
echo "⚠️ config.js already exists. Skipping copy..."
|
echo "✅ config.js already exists. Skipping copy..."
|
||||||
else
|
else
|
||||||
echo "📑 Copying default.config.js to config.js..."
|
echo "📑 Copying default.config.js to config.js..."
|
||||||
cp default.config.js config.js
|
cp default.config.js config.js
|
||||||
@@ -225,7 +224,8 @@ else
|
|||||||
echo "❌ Failed to find the command generated by pm2 startup! PM2 was not added to autostart."
|
echo "❌ Failed to find the command generated by pm2 startup! PM2 was not added to autostart."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "⚙️ Running PM2 save..."
|
echo "⚙️ Running a script with PM2 and saving the current state of all processes managed by it..."
|
||||||
|
pm2 start --silent
|
||||||
pm2 save --silent
|
pm2 save --silent
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user