From 1f875a6155a4a6b8dc93d90f1cf64d7a08958a06 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Wed, 3 Dec 2025 18:20:18 -0500 Subject: [PATCH] Migrate from pm2 to systemd --- packages/skin-database/ecosystem.config.js | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 packages/skin-database/ecosystem.config.js diff --git a/packages/skin-database/ecosystem.config.js b/packages/skin-database/ecosystem.config.js deleted file mode 100644 index 04aef2b6..00000000 --- a/packages/skin-database/ecosystem.config.js +++ /dev/null @@ -1,37 +0,0 @@ -// To toggle between blue and green deployments: -// sudo vim /etc/apache2/sites-enabled/api.webamp.org-le-ssl.conf -// Update port number -// sudo systemctl reload apache2 -module.exports = { - apps: [ - { - name: "skin-database-blue", - script: "yarn", - interpreter: "bash", - args: "start", - env: { - NODE_ENV: "production", - PORT: 3001, - }, - }, - { - name: "skin-database-green", - script: "yarn", - interpreter: "bash", - args: "start", - env: { - NODE_ENV: "production", - PORT: 3002, - }, - }, - { - name: "skin-bot", - script: "yarn", - interpreter: "bash", - args: "bot", - env: { - NODE_ENV: "production", - }, - }, - ], -};