{"id":50469727,"url":"https://github.com/stefanpejcic/file-watcher","last_synced_at":"2026-06-01T09:32:46.969Z","repository":{"id":246002087,"uuid":"819804238","full_name":"stefanpejcic/file-watcher","owner":"stefanpejcic","description":"Auto-reload services when changes are detected in BIND or Nginx configuration files. 📄 👀 🤙🏼","archived":false,"fork":false,"pushed_at":"2024-07-13T08:59:57.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-13T10:18:14.028Z","etag":null,"topics":["bind","inotify","named","nginx"],"latest_commit_sha":null,"homepage":"https://pejcic.rs","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/stefanpejcic.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}},"created_at":"2024-06-25T08:28:32.000Z","updated_at":"2024-07-13T09:00:00.000Z","dependencies_parsed_at":"2024-06-25T10:04:34.002Z","dependency_job_id":"4fa40cf4-4e1e-4576-953f-b26371d43260","html_url":"https://github.com/stefanpejcic/file-watcher","commit_stats":null,"previous_names":["stefanpejcic/file-watcher"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stefanpejcic/file-watcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanpejcic%2Ffile-watcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanpejcic%2Ffile-watcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanpejcic%2Ffile-watcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanpejcic%2Ffile-watcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefanpejcic","download_url":"https://codeload.github.com/stefanpejcic/file-watcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanpejcic%2Ffile-watcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33769492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"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":["bind","inotify","named","nginx"],"created_at":"2026-06-01T09:32:44.723Z","updated_at":"2026-06-01T09:32:46.960Z","avatar_url":"https://github.com/stefanpejcic.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# file-watcher 📄 👀 🤙🏼\nAuto-reload services when changes are detected in configuration files\n\n- **nginx** - when new conf is added in `/etc/nginx/sites-available/`, run [`opencli domain-ssl \u003cdomain\u003e`](https://dev.openpanel.co/cli/commands.html#SSL), [`nginx -t`](https://www.oreilly.com/library/view/nginx-troubleshooting/9781785288654/ch01s02.html) and [`nginx -s reload`](https://nginx.org/en/docs/beginners_guide.html#control)\n- **nginx** - when change is detected in `/etc/nginx/sites-available/`, run [`nginx -t`](https://www.oreilly.com/library/view/nginx-troubleshooting/9781785288654/ch01s02.html) and [`nginx -s reload`](https://nginx.org/en/docs/beginners_guide.html#control)\n- **named** - when change is detected in `/etc/bind/zones/`, run [`named-checkzone`](https://linux.die.net/man/8/named-checkzone) and [`rndc reload`](https://docs.oracle.com/cd/E19253-01/816-4556/dnsref-8/index.html)\n- **systemd** - when change is detected in `/etc/systemd/system/`, run [`systemctl daemon-reload`](https://www.man7.org/linux/man-pages/man1/systemctl.1.html)\n- **phpmyadmin** - when change is detected in `/etc/openpanel/openpanel/core/users/`, run [`opencli phpmyadmin --enable`](#)\n- **openadmin** - when change is detected in `/usr/local/admin/`, run [`service admin reload`](https://dev.openpanel.co/services.html#OpenAdmin)\n- **watcher** - when change is detected in `/usr/local/admin/scripts/watcher/`, run [`service watcher restart`](#)\n\n## Install\n\n```bash\nbash \u003c(curl -sSL https://raw.githubusercontent.com/stefanpejcic/file-watcher/main/install.sh)\n```\n\n\n## Todo:\n\n- rm ssl on conf delete\n- queue to recheck ssl in bg\n- \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanpejcic%2Ffile-watcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefanpejcic%2Ffile-watcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanpejcic%2Ffile-watcher/lists"}