mirror of
https://github.com/YunoHost-Apps/etherpad_ynh.git
synced 2024-09-03 18:36:10 +02:00
Update install
This commit is contained in:
parent
2874b44435
commit
946cf8d7c5
1 changed files with 5 additions and 2 deletions
|
@ -84,6 +84,11 @@ pushd $install_dir
|
||||||
ynh_exec_warn_less env $ynh_node_load_PATH pnpm --recursive i --production
|
ynh_exec_warn_less env $ynh_node_load_PATH pnpm --recursive i --production
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
pushd $install_dir/admin
|
||||||
|
ynh_exec_warn_less env $ynh_node_load_PATH pnpm run build
|
||||||
|
cp ./dist/* ../src/templates/admin
|
||||||
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -91,8 +96,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=6
|
||||||
|
|
||||||
ynh_systemd_action --service_name=$app --action=restart --log_path=systemd --line_match="Your Etherpad version is"
|
ynh_systemd_action --service_name=$app --action=restart --log_path=systemd --line_match="Your Etherpad version is"
|
||||||
|
|
||||||
ynh_secure_remove --file="$install_dir/var/minified*"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue