mirror of
https://github.com/YunoHost-Apps/nodebb_ynh.git
synced 2024-09-03 19:46:29 +02:00
Update install
This commit is contained in:
parent
5d80bf9692
commit
fb83b4d02d
1 changed files with 1 additions and 18 deletions
|
@ -44,6 +44,7 @@ ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
|
||||||
ynh_script_progression --message="Storing installation settings..." --weight=1
|
ynh_script_progression --message="Storing installation settings..." --weight=1
|
||||||
|
|
||||||
ynh_app_setting_set --app=$app --key=domain --value=$domain
|
ynh_app_setting_set --app=$app --key=domain --value=$domain
|
||||||
|
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
||||||
ynh_app_setting_set --app=$app --key=$secret --value="$secret"
|
ynh_app_setting_set --app=$app --key=$secret --value="$secret"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -67,16 +68,6 @@ ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
|
||||||
# Install Nodejs
|
# Install Nodejs
|
||||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# CREATE A MYSQL DATABASE
|
|
||||||
#=================================================
|
|
||||||
# ynh_script_progression --message="Creating a PostgreSQL database..." --weight=9
|
|
||||||
|
|
||||||
# db_name=$(ynh_sanitize_dbid --db_name=$app)
|
|
||||||
# ynh_app_setting_set --app=$app --key=db_name --value=$db_name
|
|
||||||
# ynh_psql_test_if_first_run
|
|
||||||
# ynh_psql_setup_db --db_user=$db_name --db_name=$db_name
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE A REDIS DATABASE
|
# CREATE A REDIS DATABASE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -158,14 +149,6 @@ ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --targ
|
||||||
|
|
||||||
ynh_add_systemd_config
|
ynh_add_systemd_config
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# START NodeBB IN BACKGROUND
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
# cat /etc/systemd/system/$app.service
|
|
||||||
# systemctl daemon-reload
|
|
||||||
# systemctl enable $app.service
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INTEGRATE SERVICE IN YUNOHOST
|
# INTEGRATE SERVICE IN YUNOHOST
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue