New files for nagios check
[pazpar2-moved-to-github.git] / debian / pazpar2.postrm
1 #!/bin/sh
2 set -e
3
4 if [ "$1" = "purge" ] ; then
5         update-rc.d pazpar2 remove >/dev/null || exit $?
6         rm -f /var/log/pazpar2.log
7         for f in /etc/pazpar2/services-enabled/*; do
8                 [ -L "$f" ] && rm -f "$f"
9         done    
10 fi
11 exit 0