1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/akkoma_ynh.git synced 2024-09-03 20:36:17 +02:00

frontends

This commit is contained in:
lapineige 2022-12-20 23:41:57 +01:00 committed by GitHub
parent eca02fc7b0
commit 0c6b65a88d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -232,16 +232,6 @@ ynh_store_file_checksum --file="$config"
chmod 400 "$config"
chown $app:$app "$config"
#=================================================
# INSTALL BASIC FRONTENDS
#=================================================
# Pleroma Front-End
#ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "$final_path/live/bin/pleroma_ctl frontend install pleroma-fe --ref stable"
# Admin Front-End
#ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "$final_path/live/bin/pleroma_ctl frontend install admin-fe --ref stable"
#=================================================
# GENERIC FINALIZATION
#=================================================
@ -284,6 +274,19 @@ ynh_script_progression --message="Reloading NGINX web server..." --weight=1
ynh_systemd_action --service_name=nginx --action=reload
#=================================================
# INSTALL BASIC FRONTENDS
#=================================================
#### Fontends need Akkoma to be already running, so they are installed at the very end
# Pleroma Front-End
ynh_script_progression --message="Installing Pleroma FrontEnd..." --weight=1
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "$final_path/live/bin/pleroma_ctl frontend install pleroma-fe --ref stable"
# Admin Front-End
ynh_script_progression --message="Installing Admin FrontEnd..." --weight=1
ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "$final_path/live/bin/pleroma_ctl frontend install admin-fe --ref stable"
#=================================================
# END OF SCRIPT
#=================================================