Add qvitter and pleroma to postactiv

This commit is contained in:
Bob Mottram 2017-02-22 21:00:27 +00:00
parent 094151d82e
commit 89b37d8bc0
1 changed files with 15 additions and 1 deletions

View File

@ -40,6 +40,9 @@ POSTACTIV_REPO="https://git.postactiv.com/postActiv/postActiv.git"
POSTACTIV_COMMIT='6fad887ce82ac8826f1798e393e8c78a2eaf3d91' POSTACTIV_COMMIT='6fad887ce82ac8826f1798e393e8c78a2eaf3d91'
POSTACTIV_ADMIN_PASSWORD= POSTACTIV_ADMIN_PASSWORD=
POSTACTIV_BACKGROUND_IMAGE_URL=
POSTACTIV_TITLE='PostActiv'
# script which causes old posts to expire # script which causes old posts to expire
postactiv_expire_script=/usr/bin/postactiv-expire postactiv_expire_script=/usr/bin/postactiv-expire
@ -47,7 +50,9 @@ postactiv_variables=(ONION_ONLY
POSTACTIV_DOMAIN_NAME POSTACTIV_DOMAIN_NAME
POSTACTIV_CODE POSTACTIV_CODE
DDNS_PROVIDER DDNS_PROVIDER
MY_USERNAME) MY_USERNAME
POSTACTIV_BACKGROUND_IMAGE_URL
POSTACTIV_TITLE)
function remove_user_postactiv { function remove_user_postactiv {
remove_username="$1" remove_username="$1"
@ -217,6 +222,8 @@ function upgrade_postactiv {
function_check postactiv_running_script function_check postactiv_running_script
postactiv_running_script postactiv_running_script
upgrade_pleroma "$POSTACTIV_DOMAIN_NAME" "postactiv" "$POSTACTIV_BACKGROUND_IMAGE_URL" "$POSTACTIV_TITLE"
} }
@ -674,6 +681,13 @@ function install_postactiv {
fi fi
install_postactiv_main install_postactiv_main
install_qvitter "$POSTACTIV_DOMAIN_NAME" "postactiv"
function_check install_nodejs
install_nodejs pleroma-gnusocial
install_pleroma "postactiv" "$POSTACTIV_DOMAIN_NAME" "$POSTACTIV_BACKGROUND_IMAGE_URL" "$POSTACTIV_TITLE"
expire_postactiv_posts expire_postactiv_posts
# unleash the daemons! # unleash the daemons!