preinst revision 1cd2872b696c4bdfb7694da53883d02de3360e12
310N/A#!/bin/bash
310N/Aset -e
310N/A# Pre installation script
310N/A# If the server is running before upgrade, creates a flag.
310N/Aif [ "$1" = "upgrade" ]
310N/Athen
310N/A if [ -f @prefix@/logs/server.pid ]
310N/A then
310N/A touch @prefix@/logs/status
310N/A fi
310N/A echo *Stopping OpenDJ server...
310N/A @prefix@/bin/./stop-ds
310N/Afi
310N/Aecho
310N/A# End of the pre installation script