opends/resource/debian/control/prerm
@@ -2,7 +2,8 @@ set -e # Pre rm script # Stops the server if [ "$1" = "remove" ] # Only if the instance has been configured if [ "$1" = "remove" ] && ( [ -f @prefix@/config/buildinfo ] && [ "$(ls -A @prefix@/config/archived-configs)" ] ) then echo *Stopping OpenDJ server... @prefix@/bin/./stop-ds