set -e
# Pre rm script
# Stops the service.
# Deletes the service.
# Unlink the symlink to the process ID if it exists.
# Stops the server
# Only if the instance has been configured
if [ "$1" = "remove" ] && ( [ -f @prefix@/config/buildinfo ] && [ "$(ls -A @prefix@/config/archived-configs)" ] )
then
fi
# End prem script