prerm revision e75c2484bff064fbbf51e92aed4f37b08e6427b7
306N/A#!/bin/bash
306N/Aset -e
306N/A# Pre rm script
306N/A# Stops the server
306N/A# Only if the instance has been configured
306N/Aif [ "$1" = "remove" ] && ( [ -f @prefix@/config/buildinfo ] && [ "$(ls -A @prefix@/config/archived-configs)" ] )
306N/Athen
306N/A echo *Stopping OpenDJ server...
306N/A @prefix@/bin/./stop-ds
306N/Afi
306N/A# End prem script