projects
/
fusionforge
/
fusionforge.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6c22a51f0b85cdcbdfbd4d12c4d2dc12d2659238
[fusionforge/fusionforge.git]
/
tests
/
func
/
db_reload.sh
1
#! /bin/sh
2
3
invoke-rc.d apache2 stop
4
invoke-rc.d postgresql restart
5
su - postgres -c "dropdb gforge"
6
su - postgres -c "pg_restore -C -d template1" < /root/dump
7
invoke-rc.d apache2 start