mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
Update install
This commit is contained in:
parent
f59bc89578
commit
81c52984ef
1 changed files with 2 additions and 4 deletions
|
@ -97,8 +97,8 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir=$final_path
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chmod 755 "$final_path"
|
||||
#chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
chmod +x "$final_path/app.js"
|
||||
|
||||
|
@ -122,7 +122,6 @@ chown -R $app: $final_path
|
|||
pushd "$final_path" || ynh_die
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less bin/setup
|
||||
#npm update
|
||||
ynh_exec_warn_less npm run build
|
||||
popd || ynh_die
|
||||
|
||||
|
@ -142,7 +141,6 @@ chmod 600 $final_path/.sequelizerc
|
|||
#=================================================
|
||||
ynh_script_progression --message="Configuring a systemd service..." --weight=1
|
||||
|
||||
ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service"
|
||||
ynh_add_systemd_config
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue