Skip to content

Commit

Permalink
update core
Browse files Browse the repository at this point in the history
  • Loading branch information
Ifiht committed Sep 12, 2024
1 parent b6411e0 commit ecc592a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit ecc592a

Please sign in to comment.