diff options
author | ramon <ramongomez@us.es> | 2011-07-27 09:03:28 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2011-07-27 09:03:28 +0000 |
commit | 4b08fa5568f60abed8c6f0f8da73fcdd94864303 (patch) | |
tree | 85f422f1eccdb4a708540104d6338a68c93f8d28 | |
parent | fbc92075380b163ba10c60cb80e8fcf3f8738014 (diff) |
Versión 1.0.2: corregir parada de servicios en Ubuntu (modifica #414)
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2223 a21b9725-9963-47de-94b9-378ad31fedc9
-rwxr-xr-x | admin/Sources/Services/opengnsys.init | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/admin/Sources/Services/opengnsys.init b/admin/Sources/Services/opengnsys.init index 34fdc30b..acca8764 100755 --- a/admin/Sources/Services/opengnsys.init +++ b/admin/Sources/Services/opengnsys.init @@ -64,13 +64,12 @@ BTTRACKPID="/var/run/bttrack.pid" BTSEEDERPID="/var/run/btseeder.pid" -set -e export PATH="${PATH:+$PATH:}/usr/sbin:/sbin:/usr/bin" # Read config file if it is present. if [ -r /etc/default/opengnsys ] then - . /etc/default/opengnsys + source /etc/default/opengnsys fi # Configuración de arranque según la distribución Linux usada. @@ -170,7 +169,7 @@ para_demonios() { ############# ADV $ACTIONMSG "Parando demonio: $REPOAUXNAME" pkill faucet - [ $? = 0 ] && $SUCCESSMSG || $FAILMSG + [ $? -le 1 ] && $SUCCESSMSG || $FAILMSG ############ ADV $ACTIONMSG "Parando demonio: $SERVERNAME" $DAEMONSTOP $SERVERDAEMON |