Remove the agent before upgrades and downgrades

tags/wpkg-zabbix_agent-3.4.3-0.beta1
Daniel Berteaud 9 years ago
parent 4d5ff41725
commit 81b091a24f
  1. 8
      packages/zabbix_agent.xml

@ -17,14 +17,10 @@
<exit code="any" />
</install>
<upgrade cmd='%COMSPEC% /C sc stop "Zabbix Agent"'>
<exit code="any" />
</upgrade>
<upgrade include="remove" />
<upgrade include="install" />
<downgrade cmd='%COMSPEC% /C sc stop "Zabbix Agent"'>
<exit code="any" />
</downgrade>
<downgrade include="remove" />
<downgrade include="install" />
<remove cmd='%COMSPEC% /C sc stop "Zabbix Agent"'>

Loading…
Cancel
Save