-heat (2015.1.0-3) UNRELEASED; urgency=medium
+heat (2015.1.0-3) unstable; urgency=medium
* Replaced && by ; in debian/rules.
+ * Purges correctly log files on purge.
+ * Removes double definition of PATH= in init scripts.
- -- Thomas Goirand <zigo@debian.org> Wed, 03 Jun 2015 11:40:02 +0200
+ -- Thomas Goirand <zigo@debian.org> Wed, 03 Jun 2015 14:57:22 +0200
heat (2015.1.0-2) unstable; urgency=medium
# Author: Thomas Goirand <zigo@debian.or>
# PATH should only include /usr/* if it runs after the mountnfs.sh script
-PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Heat API CFN"
PROJECT_NAME=heat
NAME=${PROJECT_NAME}-api-cfn
set -e
if [ "${1}" = "purge" ] ; then
- rm -rf /var/log/heat/api-cfn*
+ rm -rf /var/log/heat/heat-api-cfn*
[ -d /var/log/heat ] && rmdir --ignore-fail-on-non-empty /var/log/heat
fi
# Author: Thomas Goirand <zigo@debian.or>
# PATH should only include /usr/* if it runs after the mountnfs.sh script
-PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Heat API Cloud Watch"
PROJECT_NAME=heat
NAME=${PROJECT_NAME}-api-cloudwatch
--- /dev/null
+#!/bin/sh
+
+set -e
+
+if [ "${1}" = "purge" ] ; then
+ rm -rf /var/log/heat/heat-api-cloudwatch.*
+ [ -d /var/log/heat ] && rmdir --ignore-fail-on-non-empty /var/log/heat
+fi
+
+#DEBHELPER#
+
+exit 0
# Author: Thomas Goirand <zigo@debian.or>
# PATH should only include /usr/* if it runs after the mountnfs.sh script
-PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Heat API"
PROJECT_NAME=heat
NAME=${PROJECT_NAME}-api
if [ "${1}" = "purge" ] ; then
rm -f /etc/heat/heat-api.conf
[ -d /etc/heat ] && rmdir --ignore-fail-on-non-empty /etc/heat
- rm -rf /var/log/heat/api.*
+ rm -rf /var/log/heat/heat-api.*
[ -d /var/log/heat ] && rmdir --ignore-fail-on-non-empty /var/log/heat
fi
# Author: Thomas Goirand <zigo@debian.or>
# PATH should only include /usr/* if it runs after the mountnfs.sh script
-PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Heat Engine"
PROJECT_NAME=heat
NAME=${PROJECT_NAME}-engine
--- /dev/null
+#!/bin/sh
+
+set -e
+
+if [ "${1}" = "purge" ] ; then
+ [ -d /etc/heat ] && rmdir --ignore-fail-on-non-empty /etc/heat
+ rm -rf /var/log/heat/heat-engine.*
+ [ -d /var/log/heat ] && rmdir --ignore-fail-on-non-empty /var/log/heat
+fi
+
+#DEBHELPER#
+
+exit 0