diff --git a/scripts/install b/scripts/install index a1283c5..db93996 100755 --- a/scripts/install +++ b/scripts/install @@ -269,6 +269,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 Pleroma 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" + #================================================= # END OF SCRIPT #=================================================