15 lines
583 B
Bash
15 lines
583 B
Bash
#!/bin/bash
|
|
# DEPRECATED: This script is no longer used
|
|
#
|
|
# Previously this script was used with cron to monitor and restart the service.
|
|
# Now systemd handles all restart logic automatically.
|
|
#
|
|
# The application monitors health and exits with status 1 when failures exceed threshold,
|
|
# causing systemd to automatically restart the service (Restart=on-failure).
|
|
#
|
|
# This approach is simpler and doesn't require external monitoring.
|
|
# The service unit (home-pump.service) handles all restart logic.
|
|
|
|
echo "This script is deprecated. Systemd automat handles service restarts."
|
|
exit 0
|