modernize external search
[freeside.git] / FS / bin / freeside-deloutsource
1 #!/bin/sh
2
3 domain=$1
4 FREESIDE_CONF=%%%FREESIDE_CONF%%%
5 FREESIDE_CACHE=%%%FREESIDE_CACHE%%%
6 FREESIDE_EXPORT=%%%FREESIDE_EXPORT%%%
7
8 dropdb $domain && \
9 rm -rf $FREESIDE_CONF/conf.DBI:Pg:host=localhost\;dbname=$domain && \
10 rm -rf $FREESIDE_CACHE/counters.DBI:Pg:host=localhost\;dbname=$domain && \
11 rm -rf $FREESIDE_CACHE/cache.DBI:Pg:host=localhost\;dbname=$domain && \
12 rm -rf $FREESIDE_EXPORT/export.DBI:Pg:host=localhost\;dbname=$domain && \
13 rm $FREESIDE_CONF/dbdef.DBI:Pg:host=localhost\;dbname=$domain
14