[packages/haproxy] reload: reload not issued if service is dead, use restart
glen
glen at pld-linux.org
Tue Jan 3 06:11:40 CET 2017
commit c10086d460ecd4f8881aca31253cec2d94ea8971
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Jan 3 06:59:18 2017 +0200
reload: reload not issued if service is dead, use restart
haproxy.init | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/haproxy.init b/haproxy.init
index 4b59512..febeb8d 100755
--- a/haproxy.init
+++ b/haproxy.init
@@ -61,7 +61,6 @@ reload() {
return
fi
- # TODO: check if pid is valid and start instead
checkconfig
msg_reloading "HA-Proxy"
daemon /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid -st $(</var/run/haproxy.pid)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/haproxy.git/commitdiff/58bad708c5277045c7ad9192d2a049500544df71
More information about the pld-cvs-commit
mailing list