This commit is contained in:
Sefinek committed 2025-01-18 04:24:42 +01:00
1 parent 4e78a24b6a
commit 4a51d910e4
1 file changed
+3 -3
+3 -3
View File
@@ -174,9 +174,8 @@ echo "📦 Installing npm dependencies..."
npm install -silent
# Copy configuration file
echo "📑 Checking if config.js exists..."
if [ -e config.js ]; then
echo "⚠️ config.js already exists. Skipping copy..."
echo "✅ config.js already exists. Skipping copy..."
else
echo "📑 Copying default.config.js to 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."
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