mirror of
https://github.com/YunoHost-Apps/plateau_ynh.git
synced 2024-09-03 20:06:38 +02:00
Update install
This commit is contained in:
parent
4a833fec25
commit
8b66967dd3
1 changed files with 10 additions and 10 deletions
|
@ -43,16 +43,6 @@ ynh_use_logrotate
|
|||
|
||||
yunohost service add $app --description="Organize and document participatory workshops" --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# INSTALL PLATEAU
|
||||
#=================================================
|
||||
ynh_script_progression --message="Installing $app..." --weight=3
|
||||
|
||||
pushd $install_dir
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# ADD CONFIG PLATEAU
|
||||
#=================================================
|
||||
|
@ -63,6 +53,16 @@ ynh_add_config --template="../conf/settings_base.json" --destination="$install_d
|
|||
chmod 400 "$install_dir/settings_base.json"
|
||||
chown $app:$app "$install_dir/settings_base.json"
|
||||
|
||||
#=================================================
|
||||
# INSTALL PLATEAU
|
||||
#=================================================
|
||||
ynh_script_progression --message="Installing $app..." --weight=3
|
||||
|
||||
pushd $install_dir
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue