mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Violette Roche-Montane
27.23.2013 9af60f21a97a47394c0bb26d96f308d9c3ec73a1
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