summaryrefslogtreecommitdiffstats
path: root/repoman/bin/opengnsys.cron
diff options
context:
space:
mode:
Diffstat (limited to 'repoman/bin/opengnsys.cron')
-rwxr-xr-xrepoman/bin/opengnsys.cron5
1 files changed, 0 insertions, 5 deletions
diff --git a/repoman/bin/opengnsys.cron b/repoman/bin/opengnsys.cron
index 78f01db5..32c6f493 100755
--- a/repoman/bin/opengnsys.cron
+++ b/repoman/bin/opengnsys.cron
@@ -31,9 +31,4 @@ if [ "$RUN_OGADMSERVER" == "yes" ]; then
/etc/init.d/opengnsys restart
fi
fi
-# Reiniciar servicios si es repositorio y proceso ogAdmRepo está caído.
-if [ "$RUN_OGADMREPO" == "yes" -a $(pgrep ogAdmRepo | wc -w) == 0 ]; then
- date +"%d/%m/%Y %H:%M ERROR: El servicio ogAdmRepo estaba caido, se reinicia" >> $LOGDIR/ogAdmRepo.log
- /etc/init.d/opengnsys restart
-fi