mirror of
https://github.com/YunoHost-Apps/akkoma_ynh.git
synced 2024-09-03 20:36:17 +02:00
Merge pull request #3 from YunoHost-Apps/testing
Fix frontend management DB config
This commit is contained in:
commit
9a29634720
5 changed files with 20 additions and 3 deletions
|
@ -21,7 +21,7 @@ Akkoma is a microblogging server software that can federate (= exchange messages
|
|||
|
||||
|
||||
|
||||
**Shipped version:** 3.5.0~ynh2
|
||||
**Shipped version:** 3.5.0~ynh3
|
||||
|
||||
**Demo:** https://otp.akkoma.dev
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ Akkoma is a microblogging server software that can federate (= exchange messages
|
|||
|
||||
|
||||
|
||||
**Version incluse :** 3.5.0~ynh2
|
||||
**Version incluse :** 3.5.0~ynh3
|
||||
|
||||
**Démo :** https://otp.akkoma.dev
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "A free, federated social networking server built on ActivityPub open protocol. Derivate of Pleroma.",
|
||||
"fr": "Un serveur de réseautage social fédéré et gratuit basé sur le protocole ouvert ActivityPub. Derivé de Pleroma."
|
||||
},
|
||||
"version": "3.5.0~ynh2",
|
||||
"version": "3.5.0~ynh3",
|
||||
"url": "https://akkoma.social/",
|
||||
"upstream": {
|
||||
"license": "AGPL-3.0-only",
|
||||
|
|
|
@ -274,6 +274,14 @@ ynh_script_progression --message="Reloading NGINX web server..." --weight=1
|
|||
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
|
||||
#=================================================
|
||||
# POST INSTALL
|
||||
#=================================================
|
||||
|
||||
# Correct path to 'static dir' in DB
|
||||
# This must be done when Akkoma is running (i.e. after install and start)
|
||||
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "$final_path/live/bin/pleroma_ctl config migrate_to_db"
|
||||
|
||||
#=================================================
|
||||
# INSTALL BASIC FRONTENDS
|
||||
#=================================================
|
||||
|
|
|
@ -289,6 +289,15 @@ ynh_script_progression --message="Reloading NGINX web server..." --weight=1
|
|||
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
|
||||
#=================================================
|
||||
# POST UPGRADE
|
||||
#=================================================
|
||||
|
||||
# Correct path to 'static dir' in DB
|
||||
# This must be done when Pleroma is running (i.e. after install/upgrade and start)
|
||||
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "$final_path/live/bin/pleroma_ctl config migrate_to_db"
|
||||
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue