summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-06-04 22:50:36 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-06-04 22:50:36 +0000
commit857f842aa923fa49301228041c92cf13da0bcc3f (patch)
treed1d3f76f757658e4e61754c192bddfefd2450f02
parent8f262ce2fdffc09ff180447f7b285f8ab75ae94d (diff)
downloadpfsense-857f842aa923fa49301228041c92cf13da0bcc3f.zip
pfsense-857f842aa923fa49301228041c92cf13da0bcc3f.tar.gz
Catch checkreload.sh back up to check_reload_status changes.
-rwxr-xr-xusr/local/bin/checkreload.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/bin/checkreload.sh b/usr/local/bin/checkreload.sh
index 40bde37..8ab3464 100755
--- a/usr/local/bin/checkreload.sh
+++ b/usr/local/bin/checkreload.sh
@@ -6,11 +6,11 @@ OUTFILE=/root/check_reload_status.log
if [ ${CHECKRELOADSTATUS} -lt 1 ] ; then
echo "${DATE}: Re-starting check_reload_status, it died for some reason..." >> ${OUTFILE}
- /usr/local/sbin/check_reload_status
+ nohup /usr/bin/nice -n20 /usr/local/sbin/check_reload_status &
fi
if [ ${CHECKRELOADSTATUS} -gt 1 ] ; then
echo "${DATE} There appears to be 2 or more check_reload_status processes. Forcing kill and restart of all now..." >> ${OUTFILE}
kill -9 `pgrep check_reload_status`
- /usr/local/sbin/check_reload_status
+ nohup /usr/bin/nice -n20 /usr/local/sbin/check_reload_status &
fi
OpenPOWER on IntegriCloud