File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public function setup( $user, $domain ) {
7777 // Start mailcatcher and save the process list
7878 public function start () {
7979 $ cmd = 'if ! runuser -s /bin/bash -l "mailcatcher" -c "cd /opt/mailcatcher && export NVM_DIR=/opt/nvm && source /opt/nvm/nvm.sh && pm2 list" | grep -q "mailcatcher_app"; ' ;
80- $ cmd .= 'then runuser -s /bin/bash -l "mailcatcher" -c "cd /opt/mailcatcher && export NVM_DIR=/opt/nvm && source /opt/nvm/nvm.sh ; pm2 start mailcatcher.config.js" ; pm2 save --force; fi ' ;
80+ $ cmd .= 'then runuser -s /bin/bash -l "mailcatcher" -c "cd /opt/mailcatcher && export NVM_DIR=/opt/nvm && source /opt/nvm/nvm.sh ; pm2 start mailcatcher.config.js ; pm2 save --force" ; fi ' ;
8181 global $ hcpp ;
8282 $ cmd = $ hcpp ->do_action ( 'mailcatcher_start ' , $ cmd );
8383 $ hcpp ->log ( shell_exec ( $ cmd ) );
You can’t perform that action at this time.
0 commit comments