#!/bin/sh

PATH=/bin:/sbin:/usr/bin:/usr/sbin

set -e

case "$1" in
    remove|deconfigure)
        # Only on removal (not during upgrade)
        /etc/init.d/jobarchived stop || true
        update-rc.d -f jobarchived remove || true
        ;;
    *)
        ;;
esac

exit 0
