From ecc592ae8e32d6ded8085a32cf0cb49cef38a911 Mon Sep 17 00:00:00 2001 From: Peter Pan Date: Wed, 11 Sep 2024 23:17:17 -0400 Subject: [PATCH] update core --- src/core.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.rb b/src/core.rb index c319aef..471d1a8 100644 --- a/src/core.rb +++ b/src/core.rb @@ -54,7 +54,7 @@ def eval_string(str) @sprig.pm2_log("Skipping running module: #{m}") else if %x[ ls #{@cwd}/src/modules/#{m} ].split.include? "wrapper.sh" - %x[ cd #{@cwd}/src/modules/#{m} && pm2 start #{@cwd}/src/modules/#{m}/wrapper.sh --name #{m}] + %x[ cd #{@cwd}/src/modules/#{m} && pm2 start #{@cwd}/src/modules/#{m}/wrapper.sh --name #{m} --time] @sprig.pm2_log("Starting module: #{m}") else @sprig.pm2_log("No wrapper for module: #{m}")