mirror of
https://github.com/YunoHost-Apps/wikijs_ynh.git
synced 2024-09-03 20:36:09 +02:00
Cleanup
This commit is contained in:
parent
04f96a0dd2
commit
ef9b3c15f4
3 changed files with 9 additions and 10 deletions
|
@ -97,13 +97,12 @@ ynh_app_setting_set $app port $port
|
|||
### - As well as the section "REINSTALL DEPENDENCIES" in the restore script
|
||||
### - And the section "UPGRADE DEPENDENCIES" in the upgrade script
|
||||
|
||||
ynh_install_nodejs 10
|
||||
|
||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
||||
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
|
||||
|
||||
ynh_install_app_dependencies redis-server postgresql postgresql-contrib yarn
|
||||
ynh_install_nodejs 10
|
||||
|
||||
ynh_install_app_dependencies redis-server postgresql postgresql-contrib yarn
|
||||
|
||||
#=================================================
|
||||
# CREATE A POSTGRESQL DATABASE
|
||||
|
@ -336,4 +335,4 @@ systemctl reload nginx
|
|||
# START SERVICE
|
||||
#=================================================
|
||||
|
||||
ynh_systemd_action --action=start --service_name=$app --line_match="Browse to http://localhost:"
|
||||
ynh_systemd_action --action=start --service_name=$app
|
||||
|
|
|
@ -92,11 +92,11 @@ chown -R "$app":"$app" "$final_path"
|
|||
#=================================================
|
||||
|
||||
# Define and install dependencies
|
||||
ynh_install_nodejs 10
|
||||
|
||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
||||
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
|
||||
|
||||
ynh_install_nodejs 10
|
||||
|
||||
ynh_install_app_dependencies redis-server postgresql postgresql-contrib yarn
|
||||
|
||||
#=================================================
|
||||
|
@ -145,4 +145,4 @@ chown -R "$app":"$app" "/var/log/$app"
|
|||
# START SERVICE
|
||||
#=================================================
|
||||
|
||||
ynh_systemd_action --action=start --service_name=$app --line_match="Browse to http://localhost:"
|
||||
ynh_systemd_action --action=start --service_name=$app
|
||||
|
|
|
@ -102,11 +102,11 @@ ynh_add_nginx_config
|
|||
# UPGRADE DEPENDENCIES
|
||||
#=================================================
|
||||
|
||||
ynh_install_nodejs 10
|
||||
|
||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
||||
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
|
||||
|
||||
ynh_install_nodejs 10
|
||||
|
||||
ynh_install_app_dependencies redis-server postgresql postgresql-contrib yarn
|
||||
|
||||
#=================================================
|
||||
|
@ -203,4 +203,4 @@ systemctl reload nginx
|
|||
# START SERVICE
|
||||
#=================================================
|
||||
|
||||
ynh_systemd_action --action=start --service_name=$app --line_match="Browse to http://localhost:"
|
||||
ynh_systemd_action --action=start --service_name=$app
|
||||
|
|
Loading…
Add table
Reference in a new issue