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
13 lines
304 B
Bash
Executable file
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
|