setup.sh 554 B

12345678
  1. {% macro setup(values) -%}
  2. #!/bin/sh
  3. echo "Ensuring job config directory {{ values.consts.jobs_path }}/{{ values.fscrawler.job_name }} exists"
  4. mkdir -p {{ values.consts.jobs_path }}/{{ values.fscrawler.job_name }}
  5. {# Copy/Overwrite an example settings file to the config directory #}
  6. echo "Copying example config file to {{ values.consts.jobs_path }}/{{ values.fscrawler.job_name }}/_settings.example.yaml"
  7. cp -f {{ values.consts.example_config_path }} {{ values.consts.jobs_path }}/{{ values.fscrawler.job_name }}/_settings.example.yaml
  8. {%- endmacro %}