[Pkg-openssl-changes] r269 - openssl/trunk/debian
kroeckx at alioth.debian.org
kroeckx at alioth.debian.org
Sat Nov 3 12:22:33 UTC 2007
Author: kroeckx
Date: 2007-11-03 12:22:33 +0000 (Sat, 03 Nov 2007)
New Revision: 269
Modified:
openssl/trunk/debian/changelog
openssl/trunk/debian/libssl0.9.8.postinst
Log:
To restart a service, just restart, instead of stop and start.
Hopefully fixes #444946
Modified: openssl/trunk/debian/changelog
===================================================================
--- openssl/trunk/debian/changelog 2007-11-03 11:52:06 UTC (rev 268)
+++ openssl/trunk/debian/changelog 2007-11-03 12:22:33 UTC (rev 269)
@@ -16,6 +16,8 @@
* Use -Wa,--noexecstack for all arches in Debian. (Closes: #430583)
* Convert the failure message when services fail restart to a debconf
message.
+ * To restart a service, just restart, instead of stop and start.
+ Hopefully fixes #444946
-- Kurt Roeckx <kurt at roeckx.be> Sat, 03 Nov 2007 12:49:50 +0100
Modified: openssl/trunk/debian/libssl0.9.8.postinst
===================================================================
--- openssl/trunk/debian/libssl0.9.8.postinst 2007-11-03 11:52:06 UTC (rev 268)
+++ openssl/trunk/debian/libssl0.9.8.postinst 2007-11-03 12:22:33 UTC (rev 269)
@@ -141,14 +141,7 @@
idl=$(ls /etc/rc${rl}.d/S??${service} 2> /dev/null | head -n 1)
fi
- echo -n " $service: stopping..."
- $idl stop > /dev/null 2>&1 || true
- sleep 1
- echo -n "starting..."
- if $idl start > /dev/null 2>&1; then
- echo "done."
- else
- echo "FAILED! ($?)"
+ if ! $idl restart; then
failed="$service $failed"
fi
done
More information about the Pkg-openssl-changes
mailing list