{"id":41082048,"url":"https://github.com/neticdk/inotifywait-reloader","last_synced_at":"2026-03-08T19:09:06.208Z","repository":{"id":222668262,"uuid":"757932810","full_name":"neticdk/inotifywait-reloader","owner":"neticdk","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-19T10:40:50.000Z","size":51,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-21T15:21:01.458Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neticdk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-02-15T09:36:05.000Z","updated_at":"2025-10-10T12:32:31.000Z","dependencies_parsed_at":"2025-06-02T08:06:45.085Z","dependency_job_id":"683e51ab-68c0-4313-bf82-2ad4901a1b6d","html_url":"https://github.com/neticdk/inotifywait-reloader","commit_stats":null,"previous_names":["neticdk/inotifywait-reloader"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/neticdk/inotifywait-reloader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neticdk%2Finotifywait-reloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neticdk%2Finotifywait-reloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neticdk%2Finotifywait-reloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neticdk%2Finotifywait-reloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neticdk","download_url":"https://codeload.github.com/neticdk/inotifywait-reloader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neticdk%2Finotifywait-reloader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28663844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-22T13:41:36.311Z","updated_at":"2026-01-22T13:41:37.592Z","avatar_url":"https://github.com/neticdk.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What?\n\nThis project provides a simple Docker container that utilizes inotifywait to watch for changes in files or directories and trigger a reload of a service when modifications are detected.\n\n# How?\n\nRun the container created by this repo together with your application in a single pod with a shared volume. When files at the watched patch are updated the container can send an HTTP request to specified URL or a SIGHUP to specified Service.\n\n# Features\n\n- Supports HTTP and SIGHUP reload methods\n- Configurable paths to monitor for changes\n- Retries HTTP requests with configurable delay\n- Logs information about reload attempts and success/failure\n\n# Configuration Environment Variables\n\n| name                       | description                                                                                                                                                                                                                                                                                                                         | required | default                                   | type    |\n|----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|-------------------------------------------|---------|\n| `RELOAD_METHOD`                    | The reload method to use (HTTP or SIGHUP). If SIGHUP Method is used then containers in a pod must [share process namespace](https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace)                                                                                                                                                                                                                                                                                               | true     | HTTP                                         | string  |\n| `WATCH_PATHS`              | Comma-separated list of paths to watch for changes.                                                                                                                                                                                                                              | true    | -                                         | string  |\n| `REQ_URL`                   | The URL of the reload endpoint (required for HTTP reload)                                                                                                                                                                                                                                                                                             | false     | -                                         | string  |\n| `REQ_METHOD`        | The HTTP method to use for reload requests (GET or POST).                                                                                                              | false    | GET            | string  |\n| `REQ_RETRY_COUNT`                | The number of retries for HTTP requests.                                                                                                                                                 | false    | `5` | integer  |\n| `REQ_RETRY_DELAY`                 | The delay between retries (seconds).                                                                                                                                                                                                                                            | false    | `5`                               | integer  |\n| `REQ_TIMEOUT`                   | The timeout for HTTP requests (seconds). | false    | `10`                                         | integer  |\n| `REQ_STATUS_CODE`               | The expected status code for successful reload requests.                                                                                                                                                                                                                                             | false    | `200`                                      | integer |\n| `SERVICE_NAME`                  | The name of the service to reload (required for SIGHUP reload).                                                                                                                                                                                                                                                                   | false    | -                                         | string     |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneticdk%2Finotifywait-reloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneticdk%2Finotifywait-reloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneticdk%2Finotifywait-reloader/lists"}