Skip to content

Commit

Permalink
Merge pull request #21 from emqtt/emq20
Browse files Browse the repository at this point in the history
Fix issue #859
  • Loading branch information
Feng Lee committed Jan 19, 2017
2 parents d84cd27 + 917f79a commit ffabc1f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bin/emqttd.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@
@call :create_mnesia_dir
@call :generate_app_config
@set args=-detached %sys_config% %args_file% %generated_config_args% -mnesia dir '%mnesia_dir%'
@echo off
cd /d %rel_root_dir%
@echo on
@start "%rel_name%" %werl% -boot "%boot_script%" %args%
@goto :eof

Expand Down Expand Up @@ -230,7 +233,10 @@
@call :create_mnesia_dir
@call :generate_app_config
@set args=%sys_config% %args_file% %generated_config_args% -mnesia dir '%mnesia_dir%'
@start "%rel_name% console" %werl% -boot "%boot_script%" %args%
@echo off
cd /d %rel_root_dir%
@echo on
@start "bin\%rel_name% console" %werl% -boot "%boot_script%" %args%
@goto :eof

:: Ping the running node
Expand Down

0 comments on commit ffabc1f

Please sign in to comment.