#! /bin/sh
# prerm script for canolad
#
# see: dh_installdeb(1)

if [ -x /usr/bin/canolad ]; then
    echo "Stopping canolad"
    su -c "/usr/bin/canolad stop" - user
fi
exit 0
