<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
hi,<br>
<br>
we use the package for haproxy of the backports and we encounter
issues when we upgrade (here 1.5 to 1.7). The apt-get fail because
haproxy runs and the apt script say:<br>
<br>
<font size="3">if [ -x "/etc/init.d/haproxy" ]; then <br>
update-rc.d haproxy defaults >/dev/null <br>
invoke-rc.d haproxy start || exit $? <br>
fi<br>
<br>
<br>
as haproxy runs allready it ends with:<br>
<br>
</font><font size="3">[....] Starting haproxy:
haproxy/usr/sbin/haproxy already running. <br>
failed! <br>
invoke-rc.d: initscript haproxy, action "start" failed. <br>
dpkg: error processing package haproxy (--configure):<br>
<br>
<br>
because it is allready running. therefor we must do a manual stop
then upgrade do you think that could be changed with something
like this (in sh syntax)<br>
<br>
</font>update-rc.d haproxy defaults >/dev/null<br>
invoke-rc.d haproxy status >/dev/null && {<br>
invoke-rc.d haproxy restart >/dev/null || exit $?<br>
} || {<br>
invoke-rc.d haproxy start >/dev/null || exit $?<br>
}<font size="3"><br>
<br>
<br>
Thanks for your work and best regards,<br>
<br>
Ghislain.<br>
AQUEOS.<br>
<br>
</font>
</body>
</html>