{"id":20022915,"url":"https://github.com/lfkdev/apache_failfix.service","last_synced_at":"2025-03-02T03:45:00.456Z","repository":{"id":158770728,"uuid":"247834607","full_name":"lfkdev/apache_failfix.service","owner":"lfkdev","description":"automatically fix broken apache site-configs and bring apache back to running state","archived":false,"fork":false,"pushed_at":"2020-03-29T15:00:09.000Z","size":54,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T16:36:59.295Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lfkdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-03-16T23:13:13.000Z","updated_at":"2020-06-16T11:59:14.000Z","dependencies_parsed_at":"2023-04-29T17:31:32.985Z","dependency_job_id":null,"html_url":"https://github.com/lfkdev/apache_failfix.service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfkdev%2Fapache_failfix.service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfkdev%2Fapache_failfix.service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfkdev%2Fapache_failfix.service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfkdev%2Fapache_failfix.service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lfkdev","download_url":"https://codeload.github.com/lfkdev/apache_failfix.service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241455379,"owners_count":19965602,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-13T08:43:47.048Z","updated_at":"2025-03-02T03:45:00.449Z","avatar_url":"https://github.com/lfkdev.png","language":"Shell","readme":"# apache_failfix.service\nsystemd unit.service and bash script to fix and restart apache after failed start/state\n\n[![Lizenz](https://img.shields.io/github/license/lfkdev/apache_failfix.service)](https://github.com/lfkdev/apache_failfix.service)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/lfkdev/apache_failfix.service/blob/master/illustration_img.png?raw=true\" alt=\"illustration\"/\u003e\n\u003c/p\u003e\n\nEither use an override file or just place the onFailure line in your apache2.service\n```\n$ systemctl edit (--full) apache2.service\n```\n\nAfter that just place the script in /usr/local/bin/ (or wherever you like) and create the apache_failfix.service\n```\n$ systemctl --full --force apache_failfix.service\n```\nand paste the content in it (or copy the file from the repo to /etc/systemd/system/apache_failfix.service (debian/ubntu))\nnow after an apache restart, next time your apache fails it will restart automatically\n\nnote: if you want to recieve an email when this unit got triggered you have to adjust the bash file (where the mail comment is)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfkdev%2Fapache_failfix.service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flfkdev%2Fapache_failfix.service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfkdev%2Fapache_failfix.service/lists"}