1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/itflow_ynh.git synced 2024-09-03 19:26:24 +02:00

cleaaning

This commit is contained in:
Éric Gaspar 2023-10-04 19:23:59 +02:00
parent 6cf49bfb5b
commit b32b88c32f
2 changed files with 8 additions and 8 deletions

View file

@ -41,12 +41,12 @@ chmod 644 "/etc/cron.d/$app"
#================================================= #=================================================
# ADD A CONFIGURATION # 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 400 "$install_dir/config.php" #chmod 400 "$install_dir/config.php"
chown $app:$app "$install_dir/config.php" #chown $app:$app "$install_dir/config.php"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT

View file

@ -48,12 +48,12 @@ ynh_add_nginx_config
#================================================= #=================================================
# UPDATE A CONFIG FILE # UPDATE A CONFIG FILE
#================================================= #=================================================
ynh_script_progression --message="Updating a configuration file..." --weight=1 #ynh_script_progression --message="Updating 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 400 "$install_dir/config.php" #chmod 400 "$install_dir/config.php"
chown $app:$app "$install_dir/config.php" #chown $app:$app "$install_dir/config.php"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE