blob: 56185353967c85c320d8cfd1962912f1047d6c54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
domain=$1
dropdb $domain && \
rm -rf /usr/local/etc/freeside/conf.DBI:Pg:host=localhost\;dbname=$domain && \
rm -rf /usr/local/etc/freeside/counters.DBI:Pg:host=localhost\;dbname=$domain && \
rm -rf /usr/local/etc/freeside/cache.DBI:Pg:host=localhost\;dbname=$domain && \
rm -rf /usr/local/etc/freeside/export.DBI:Pg:host=localhost\;dbname=$domain && \
rm /usr/local/etc/freeside/dbdef.DBI:Pg:host=localhost\;dbname=$domain
|