https://github.com/nikoo-asadnejad/systemdservice-healthcheck
Health checker for systemd unit which checks systemd status and also calls health check api
https://github.com/nikoo-asadnejad/systemdservice-healthcheck
bash bash-script cron health-check linux shell shell-script systemd systemd-service systemd-unit
Last synced: 2 months ago
JSON representation
Health checker for systemd unit which checks systemd status and also calls health check api
- Host: GitHub
- URL: https://github.com/nikoo-asadnejad/systemdservice-healthcheck
- Owner: Nikoo-Asadnejad
- Created: 2024-07-18T15:52:05.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-07-18T16:19:44.000Z (9 months ago)
- Last Synced: 2024-12-31T22:12:06.744Z (4 months ago)
- Topics: bash, bash-script, cron, health-check, linux, shell, shell-script, systemd, systemd-service, systemd-unit
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SystemdService-HealthCheck
Health checker for systemd unit which checks systemd status and also calls health check api1. Make file executable :
`chmod +x Service-HealthChecker.sh`2. Create Cron :
`crontab -e`
`*/5 * * * * /path/to/Service-HealtchChecker.sh >> /path/to/Service-HealtchChecker.log 2>&1`