1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00
This commit is contained in:
ericgaspar 2021-11-21 12:57:01 +01:00
parent 474486dfc5
commit 7a360886e5
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 1 additions and 12 deletions

View file

@ -72,8 +72,6 @@ ynh_app_setting_set --app=$app --key=port --value=$port
#=================================================
ynh_script_progression --message="Installing dependencies..." --weight=6
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
ynh_install_nodejs --nodejs_version=$nodejs_version
if [ "$export" = "abiword" ]; then
@ -90,14 +88,6 @@ ynh_script_progression --message="Configuring system user..." --weight=4
# Create a system user
ynh_system_user_create --username=$app --home_dir=$final_path
#=================================================
# CREATE DEDICATED USER
#=================================================
ynh_script_progression --message="Configuring system user..." --weight=4
# Create a system user
ynh_system_user_create --username=$app --home_dir=$final_path
#=================================================
# CREATE A POSTQRESQL DATABASE
#=================================================

View file

@ -121,14 +121,13 @@ then
pushd "$final_path"
ynh_use_nodejs
git pull origin
ynh_exec_as $app env "$ynh_node_load_PATH" src/bin/run.sh
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH src/bin/run.sh
popd
fi
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
chmod 400 $final_path/credentials.json
#=================================================
# SETUP LOGROTATE