From bcaf3a986c056a2f3adc96eab4801a508b913b44 Mon Sep 17 00:00:00 2001 From: artie Date: Sat, 27 Apr 2024 00:47:15 +0200 Subject: [PATCH] adjust pm2 config --- ecosystem.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecosystem.config.js b/ecosystem.config.js index 26e7c09..a01fd7c 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -2,8 +2,8 @@ module.exports = { apps: [ { name: "artemis", - interpreter: "./env/bin/python", - script: "./bot.py", + script: "/bin/bash", + args: "-c './env/bin/python -m artemis'", out_file: "/dev/null", error_file: "/dev/null", log_file: "./artemis.log",