summaryrefslogtreecommitdiffstats
path: root/repoman/bin
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2018-11-14 18:40:06 +0100
committerRamón M. Gómez <ramongomez@us.es>2018-11-14 18:40:06 +0100
commitb351d8afce7769df7e57c13c88efc3b1346d031e (patch)
tree39bb18d7f7d2033881efc2214a694595dd7ea575 /repoman/bin
parent348b5c973a033baec95cb0bd460594ab117ad5ce (diff)
#875: Removing old ogAdmRepo service.
Diffstat (limited to 'repoman/bin')
-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