diaspora/pkg/fedora/diaspora-reset
Alec Leamas 1c00fc232e Allow make-dist.sh to use an alternative repo.
Adds the -u switch, allowing use of another repository than
http://github.com/diaspora/diaspora.git. This is a dogfood patch.
Renames diaspora-ws->diaspora-wsd; this is indeed a daemon.
Moves all Fedora-related stuff in make-dist.sh to subcommand
'prepare'. The source tarballs are now usable on any OS
2010-10-10 16:38:01 +02:00

13 lines
304 B
Bash
Executable file

#!/bin/sh
#
# Try to revert to pristine state, deleting all users and
# configuration
#
set -x
service mongod stop
service diaspora-wsd stop
rm -rf /var/lib/mongodb/*
cp /usr/share/diaspora/master/config/app_config.yml.example \
/usr/share/diaspora/master/config/app_config.yml
service mongod start