1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fittrackee_ynh.git synced 2024-09-03 18:36:16 +02:00

Update install

This commit is contained in:
Thomas 2023-03-05 23:31:02 +01:00 committed by GitHub
parent f19a148cbc
commit 1a0c0ab6e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,10 @@ ynh_use_logrotate --specific_user=$app
touch /var/log/$app/$app.log touch /var/log/$app/$app.log
chown -R $app:www-data /var/log/$app/ chown -R $app:www-data /var/log/$app/
ynh_add_config --template="../conf/.env.production" --destination="$install_dir/.env"
chmod 600 $install_dir/.env
set -a; source "$install_dir/.env"; set +a set -a; source "$install_dir/.env"; set +a
#================================================= #=================================================
@ -108,4 +112,4 @@ ynh_systemd_action --service_name="${app}_workers" --action="start" --log_path="
# END OF SCRIPT # END OF SCRIPT
#================================================= #=================================================
ynh_script_progression --message="Installation of $app completed" --last ynh_script_progression --message="Installation of $app completed" --last