1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cloudlog_ynh.git synced 2024-09-03 18:16:23 +02:00
This commit is contained in:
Éric Gaspar 2023-11-03 20:06:56 +01:00
parent de8f4dc17e
commit a21a18dba8
2 changed files with 0 additions and 24 deletions

View file

@ -36,18 +36,6 @@ ynh_add_config --template="cron" --destination="/etc/cron.d/$app"
chown root: "/etc/cron.d/$app" chown root: "/etc/cron.d/$app"
chmod 644 "/etc/cron.d/$app" chmod 644 "/etc/cron.d/$app"
#=================================================
# APP INITIAL CONFIGURATION
#=================================================
# ADD A CONFIGURATION
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="database.php" --destination="$install_dir/application/config/database.php"
chmod 650 "$install_dir/application/config/database.php"
chown $app:$app "$install_dir/application/config/database.php"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT
#================================================= #=================================================

View file

@ -38,18 +38,6 @@ ynh_add_nginx_config
ynh_use_logrotate --non-append ynh_use_logrotate --non-append
#=================================================
# RECONFIGURE THE APP (UPDATE CONF, APPLY MIGRATIONS...)
#=================================================
# UPDATE A CONFIG FILE
#=================================================
# ynh_script_progression --message="Updating a configuration file..." --weight=1
# ynh_add_config --template="some_config_file" --destination="$install_dir/some_config_file"
# chmod 400 "$install_dir/some_config_file"
# chown $app:$app "$install_dir/some_config_file"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT
#================================================= #=================================================