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:
parent
eca02fc7b0
commit
0c6b65a88d
1 changed files with 13 additions and 10 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue