This commit is contained in:
yalh76
2019-02-03 05:29:13 +01:00
parent 04f96a0dd2
commit ef9b3c15f4
3 changed files with 9 additions and 10 deletions

View File

@@ -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