diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-25 19:34:23 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-02-25 19:34:23 +0100 |
commit | 8e0128a00dd0d94d167b93a6113f33a570b4ff28 (patch) | |
tree | 1a96d3023999f3a492c965fc8c3735df45175631 | |
parent | fix a shebang for consistency (diff) | |
download | cgitize-8e0128a00dd0d94d167b93a6113f33a570b4ff28.tar.gz cgitize-8e0128a00dd0d94d167b93a6113f33a570b4ff28.zip |
docker: rename schedule.sh to run_cron.sh
-rw-r--r-- | docker/Dockerfile | 2 | ||||
-rwxr-xr-x | docker/entrypoint.sh | 2 | ||||
-rwxr-xr-x | docker/run_cron.sh (renamed from docker/schedule.sh) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 0f2afdb..7e15042 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -22,7 +22,7 @@ ENV SSH_AUTH_SOCK "$ssh_sock_path" COPY ["docker/entrypoint.sh", "/"] COPY ["docker/get_output_dir.py", "/"] -COPY ["docker/schedule.sh", "/"] +COPY ["docker/run_cron.sh", "/"] COPY ["cgitize/", "/usr/src/cgitize/"] ENV SCHEDULE_ON_START=1 diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 59d4814..fc3417b 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -29,7 +29,7 @@ secure_repo_dir() { main() { secure_repo_dir - exec "$script_dir/schedule.sh" "$@" + exec "$script_dir/run_cron.sh" "$@" } main "$@" diff --git a/docker/schedule.sh b/docker/run_cron.sh index db7ae26..db7ae26 100755 --- a/docker/schedule.sh +++ b/docker/run_cron.sh |