From 79dcfa7b83001967e91b2f3bd2cf01daae2a9b97 Mon Sep 17 00:00:00 2001 From: Wizzard <25581244+Wizzard@users.noreply.toomuchslop.com> Date: Mon, 16 Oct 2023 16:46:29 -0400 Subject: [PATCH] Start script and pm2 --- deps.sh | 2 +- start_linux.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 start_linux.sh diff --git a/deps.sh b/deps.sh index 697b65a..365ac7a 100755 --- a/deps.sh +++ b/deps.sh @@ -1 +1 @@ -npm install axios sharp get-image-colors +npm install axios sharp get-image-colors pm2 diff --git a/start_linux.sh b/start_linux.sh new file mode 100755 index 0000000..f0c578d --- /dev/null +++ b/start_linux.sh @@ -0,0 +1,2 @@ +git pull +node_modules/.bin/pm2 start main.js