1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00

Update install

This commit is contained in:
Rafi59 2018-05-01 14:06:25 +02:00 committed by GitHub
parent 63639f5a43
commit 42151dff61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,6 +111,9 @@ ynh_system_user_create $app
# Create a dedicated systemd config
ynh_add_systemd_config
ynh_replace_string "__NODEJS__" "$nodejs_use_version" "/etc/systemd/system/$app.service"
ynh_replace_string "__ENV_PATH__" "$PATH" "/etc/systemd/system/$app.service"
ynh_replace_string "__NODE__" "$nodejs_path" "/etc/systemd/system/$app.service"
#=================================================
# MODIFY A CONFIG FILE
@ -121,6 +124,7 @@ cp -a ../conf/config.js $config_path
#=================================================
# INSTALL THE LOUNGE
#=================================================
ynh_use_nodejs
npm -g install $final_path
# Install webpack