A bunch of typos & such
This commit is contained in:
parent
4bb26cfce4
commit
93a43e09b7
5 changed files with 7 additions and 9 deletions
|
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
BUNDLE_FROZEN: "1"
|
|
||||||
BUNDLE_DISABLE_SHARED_GEMS: "1"
|
|
||||||
BUNDLE_WITHOUT: test:rdoc
|
|
||||||
BUNDLE_PATH: vendor/bundle
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Try to revert to pristine state, deleting all users and
|
||||||
|
# configuration
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
service mongod stop
|
service mongod stop
|
||||||
|
|
@ -9,3 +11,4 @@ cp /usr/share/diaspora/master/config/app_config.yml.example \
|
||||||
/usr/share/diaspora/master/config/app_config.yml
|
/usr/share/diaspora/master/config/app_config.yml
|
||||||
service mongod start
|
service mongod start
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ test $UID = "0" || {
|
||||||
exit 2
|
exit 2
|
||||||
}
|
}
|
||||||
|
|
||||||
# Note: this line is patched by installation scripts.
|
|
||||||
cd /usr/share/diaspora/master
|
cd /usr/share/diaspora/master
|
||||||
|
|
||||||
/sbin/service mongod start || :
|
/sbin/service mongod start || :
|
||||||
|
|
@ -21,7 +20,7 @@ test -e config/app_config.yml ||
|
||||||
cp config/app_config.yml.example config/app_config.yml
|
cp config/app_config.yml.example config/app_config.yml
|
||||||
|
|
||||||
if rake db:seed:dev; then
|
if rake db:seed:dev; then
|
||||||
echo "Database config OK, new user tom/evankort in place"
|
echo "Database config OK, new user tom/evankorth in place"
|
||||||
else
|
else
|
||||||
cat <<- EOF
|
cat <<- EOF
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@ if [ -f /etc/sysconfig/diaspora-ws -a $UID -eq 0 ]; then
|
||||||
. /etc/sysconfig/diaspora-ws
|
. /etc/sysconfig/diaspora-ws
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Note: this line is patched by installation scripts.
|
||||||
cd /usr/share/diaspora
|
cd /usr/share/diaspora
|
||||||
|
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/var/log/diaspora/*.log {
|
/var/log/diaspora/*.log {
|
||||||
create 755 diaspora apache
|
create 755 diaspora diaspora
|
||||||
weekly
|
weekly
|
||||||
rotate 10
|
rotate 10
|
||||||
copytruncate
|
copytruncate
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue