|
@@ -666,30 +666,6 @@ function restore_mailing_list {
|
666
|
666
|
fi
|
667
|
667
|
}
|
668
|
668
|
|
669
|
|
-function restore_gnusocial {
|
670
|
|
- if [[ $RESTORE_APP != 'all' ]]; then
|
671
|
|
- if [[ $RESTORE_APP != 'gnusocial' ]]; then
|
672
|
|
- return
|
673
|
|
- fi
|
674
|
|
- fi
|
675
|
|
- if grep -q "GNU Social domain" $COMPLETION_FILE; then
|
676
|
|
- MICROBLOG_DOMAIN_NAME=$(cat $COMPLETION_FILE | grep "GNU Social domain" | awk -F ':' '{print $2}')
|
677
|
|
-
|
678
|
|
- # stop the daemons
|
679
|
|
- cd /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs
|
680
|
|
- scripts/stopdaemons.sh
|
681
|
|
-
|
682
|
|
- restore_database_from_friend gnusocial ${MICROBLOG_DOMAIN_NAME}
|
683
|
|
- if [ -d /root/tempgnusocial ]; then
|
684
|
|
- rm -rf /root/tempgnusocial
|
685
|
|
- fi
|
686
|
|
-
|
687
|
|
- # start the daemons
|
688
|
|
- cd /var/www/${MICROBLOG_DOMAIN_NAME}/htdocs
|
689
|
|
- scripts/startdaemons.sh
|
690
|
|
- fi
|
691
|
|
-}
|
692
|
|
-
|
693
|
669
|
function restore_rss {
|
694
|
670
|
if [[ $RESTORE_APP != 'all' ]]; then
|
695
|
671
|
if [[ $RESTORE_APP != 'ttrss' ]]; then
|
|
@@ -1098,7 +1074,6 @@ restore_personal_settings
|
1098
|
1074
|
restore_mailing_list
|
1099
|
1075
|
restore_email
|
1100
|
1076
|
|
1101
|
|
-restore_gnusocial
|
1102
|
1077
|
restore_hubzilla
|
1103
|
1078
|
restore_rss
|
1104
|
1079
|
restore_syncthing
|