mirror of
https://github.com/YunoHost-Apps/osjs_ynh.git
synced 2024-09-03 19:56:11 +02:00
Update install
This commit is contained in:
parent
17f63baa60
commit
b77619fe59
1 changed files with 4 additions and 2 deletions
|
@ -70,7 +70,7 @@ ynh_app_setting_set $app port $port
|
|||
#=================================================
|
||||
# INSTALL NODEJS
|
||||
#=================================================
|
||||
|
||||
version=6.2.0
|
||||
ynh_install_nodejs 6.2.0
|
||||
|
||||
#=================================================
|
||||
|
@ -122,7 +122,9 @@ sudo chmod 600 $nginxconf
|
|||
ynh_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 "__SUDO_PATH__" "$nodejs_path" "/etc/systemd/system/$app.service"
|
||||
ynh_replace_string "__NODE__" "$nodejs_path" "/etc/systemd/system/$app.service"
|
||||
|
||||
cat /etc/systemd/system/$app.service
|
||||
|
||||
#=================================================
|
||||
# Install OSjs
|
||||
|
|
Loading…
Add table
Reference in a new issue