diff --git a/lib/Interactor/RemoteActions/Pm2Actions.js b/lib/Interactor/RemoteActions/Pm2Actions.js index 49edb98e..759ee0fa 100644 --- a/lib/Interactor/RemoteActions/Pm2Actions.js +++ b/lib/Interactor/RemoteActions/Pm2Actions.js @@ -28,6 +28,7 @@ var PM2_REMOTE_METHOD_ALLOWED = { 'stop' : { password_required : true }, 'delete' : { password_required : true }, 'set' : { password_required : true }, + 'multiset' : { password_required : true }, 'deepUpdate' : { password_required : true }, 'pullAndRestart' : { password_optional : true }, diff --git a/test/bash/app_configuration.sh b/test/bash/app_configuration.sh index 2d4a2a0f..b317567e 100644 --- a/test/bash/app_configuration.sh +++ b/test/bash/app_configuration.sh @@ -23,6 +23,12 @@ exists 'should NOW have config variable' "config_var: 'false'" $pm2 set echo.probes true exists 'should NOW have config variable' "probes: 'true'" +should 'should have start 3 apps' 'restart_time: 2' 1 + +$pm2 multiset "echo.conf false" + +exists 'should NOW have config variable' "conf: 'false'" +should 'should have start 3 apps' 'restart_time: 3' 1 $pm2 delete all