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:
parent
6cf49bfb5b
commit
b32b88c32f
2 changed files with 8 additions and 8 deletions
|
@ -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 400 "$install_dir/config.php"
|
||||
chown $app:$app "$install_dir/config.php"
|
||||
#chmod 400 "$install_dir/config.php"
|
||||
#chown $app:$app "$install_dir/config.php"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
|
@ -48,12 +48,12 @@ ynh_add_nginx_config
|
|||
#=================================================
|
||||
# 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"
|
||||
chown $app:$app "$install_dir/config.php"
|
||||
#chmod 400 "$install_dir/config.php"
|
||||
#chown $app:$app "$install_dir/config.php"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
Loading…
Reference in a new issue