- #!/bin/bash
- set -e
- case "$1" in
- remove|deconfigure)
- systemctl stop smartbotic-database.service || true
- systemctl disable smartbotic-database.service || true
- ;;
- upgrade) systemctl stop smartbotic-database.service || true ;;
- failed-upgrade) ;;
- *) echo "prerm called with unknown argument '$1'" >&2; exit 1 ;;
- esac
- exit 0
|