monasca-agent/packaging/monasca-agent-deb/preinst
gary-hessler a60555cf32 Rename package to monasca-agent.
Change-Id: I713954bdb7ae1cacb98d0ed43bb90be6f1099964
2014-07-18 13:48:38 -06:00

14 lines
243 B
Bash

#! /bin/bash
set -e
if [ -f /etc/init.d/monasca-agent ]; then
if which invoke-rc.d >/dev/null 2>&1; then
invoke-rc.d monasca-agent stop || true
else
/etc/init.d/monasca-agent stop || true
fi
fi
#DEBHELPER#
exit 0