1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/itflow_ynh.git synced 2024-09-03 19:26:24 +02:00
This commit is contained in:
Éric Gaspar 2023-10-04 19:32:32 +02:00
parent 23a175bda4
commit 25a7007676
2 changed files with 7 additions and 6 deletions

View file

@ -1,2 +1,3 @@
db name `__DB_NAME__`
db pwd `__DB_PWD__`
data base name `__DB_NAME__`
data base user `__DB_NAME__`
data base password `__DB_PWD__`

View file

@ -41,12 +41,12 @@ chmod 644 "/etc/cron.d/$app"
#=================================================
# ADD A CONFIGURATION
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
#ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php"
#ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php"
chmod 755 "$install_dir/config.php"
chown $app:$app "$install_dir/config.php"
#chmod 644 "$install_dir/config.php"
#chown $app:$app "$install_dir/config.php"
#=================================================
# END OF SCRIPT