diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/entrypoint.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/entrypoint.pl b/scripts/entrypoint.pl index 40e7cd577..04d442180 100755 --- a/scripts/entrypoint.pl +++ b/scripts/entrypoint.pl @@ -34,6 +34,11 @@ check_env() unless $cmd eq 'shell'; $func->(@ARGV); +sub cmd_demo { + cmd_load_test_data() unless -f "/app/data/params"; + cmd_httpd(); +} + sub cmd_httpd { check_data_dir(); wait_for_db(); |