/usr/bin/ceilometer-expirer in the daily cron, so that there's no risk to
have an output if the ceilometer-collector package is removed
(Closes: #822897).
Rewritten-From:
eb3e8ba6f43f0986246d7e096b5ac7714b5a6b12
#!/bin/sh
-test -x /usr/bin/ceilometer-expirer || exit 0
-su -s /bin/sh -c "exec /usr/bin/ceilometer-expirer" ceilometer
+if [ -x /usr/bin/ceilometer-expirer ] && [ -x /usr/bin/ceilometer-collector ] ; then
+ su -s /bin/sh -c "exec /usr/bin/ceilometer-expirer" ceilometer
+fi
+
+exit 0
* Updated Japanese debconf templates (Closes: #820760).
* Updated Dutch debconf templates (Closes: #822966).
* Added Brazilian Portuguese debconf templates (Closes: #824295).
+ * Check if /usr/bin/ceilometer-collector is there before attempting to call
+ /usr/bin/ceilometer-expirer in the daily cron, so that there's no risk to
+ have an output if the ceilometer-collector package is removed
+ (Closes: #822897).
-- Thomas Goirand <zigo@debian.org> Thu, 19 May 2016 10:48:09 +0200