#NEWLINE# def build_stop_database_script( clean_data = True ) : #NEWLINE# #INDENT# script = '\n        /etc/init.d/mongodb stop\n        sleep 5\n    ' #NEWLINE# if clean_data : #NEWLINE# #INDENT# script += '\n            rm -rf /data/*\n        ' #NEWLINE# #UNINDENT# return script