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:
parent
f19a148cbc
commit
1a0c0ab6e1
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue