Migrate from pm2 to systemd

This commit is contained in:
Jordan Eldredge 2025-12-03 18:20:18 -05:00
parent 26a6002ce8
commit 1f875a6155

View file

@ -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",
},
},
],
};