1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ztncui_ynh.git synced 2024-09-03 18:06:05 +02:00
This commit is contained in:
ericgaspar 2020-11-25 17:37:48 +01:00
parent a202c14bf2
commit 57e4138136
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 9 additions and 1 deletions

View file

@ -79,7 +79,9 @@ chown -R $app: $final_path
#=================================================
ynh_script_progression --message="Reinstalling dependencies..." --weight=2
EXPERIMENTAL_ynh_install_nodejs --nodejs_version=$nodejs_version
ynh_install_app_dependencies $pkg_dependencies
ynh_install_nodejs --nodejs_version=$nodejs_version
#=================================================
# RESTORE SYSTEMD

View file

@ -187,6 +187,12 @@ ynh_add_systemd_config_vars --others_var="ynh_node_load_PATH ynh_npm"
# Set permissions on app files
chown -R $app: $final_path
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
yunohost service add $app --description "ZeroTier network controller user interface" --log "/var/log/$app/$app.log"
#=================================================
# SETUP SSOWAT
#=================================================