|
@@ -40,6 +40,9 @@ POSTACTIV_REPO="https://git.postactiv.com/postActiv/postActiv.git"
|
40
|
40
|
POSTACTIV_COMMIT='6fad887ce82ac8826f1798e393e8c78a2eaf3d91'
|
41
|
41
|
POSTACTIV_ADMIN_PASSWORD=
|
42
|
42
|
|
|
43
|
+POSTACTIV_BACKGROUND_IMAGE_URL=
|
|
44
|
+POSTACTIV_TITLE='PostActiv'
|
|
45
|
+
|
43
|
46
|
# script which causes old posts to expire
|
44
|
47
|
postactiv_expire_script=/usr/bin/postactiv-expire
|
45
|
48
|
|
|
@@ -47,7 +50,9 @@ postactiv_variables=(ONION_ONLY
|
47
|
50
|
POSTACTIV_DOMAIN_NAME
|
48
|
51
|
POSTACTIV_CODE
|
49
|
52
|
DDNS_PROVIDER
|
50
|
|
- MY_USERNAME)
|
|
53
|
+ MY_USERNAME
|
|
54
|
+ POSTACTIV_BACKGROUND_IMAGE_URL
|
|
55
|
+ POSTACTIV_TITLE)
|
51
|
56
|
|
52
|
57
|
function remove_user_postactiv {
|
53
|
58
|
remove_username="$1"
|
|
@@ -217,6 +222,8 @@ function upgrade_postactiv {
|
217
|
222
|
|
218
|
223
|
function_check postactiv_running_script
|
219
|
224
|
postactiv_running_script
|
|
225
|
+
|
|
226
|
+ upgrade_pleroma "$POSTACTIV_DOMAIN_NAME" "postactiv" "$POSTACTIV_BACKGROUND_IMAGE_URL" "$POSTACTIV_TITLE"
|
220
|
227
|
}
|
221
|
228
|
|
222
|
229
|
|
|
@@ -674,6 +681,13 @@ function install_postactiv {
|
674
|
681
|
fi
|
675
|
682
|
|
676
|
683
|
install_postactiv_main
|
|
684
|
+
|
|
685
|
+ install_qvitter "$POSTACTIV_DOMAIN_NAME" "postactiv"
|
|
686
|
+
|
|
687
|
+ function_check install_nodejs
|
|
688
|
+ install_nodejs pleroma-gnusocial
|
|
689
|
+ install_pleroma "postactiv" "$POSTACTIV_DOMAIN_NAME" "$POSTACTIV_BACKGROUND_IMAGE_URL" "$POSTACTIV_TITLE"
|
|
690
|
+
|
677
|
691
|
expire_postactiv_posts
|
678
|
692
|
|
679
|
693
|
# unleash the daemons!
|