1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phplicensewatcher_ynh.git synced 2024-09-03 19:56:32 +02:00

Update install

This commit is contained in:
ericgaspar 2021-11-19 22:29:52 +01:00
parent 202a2bb31c
commit 36555408d6
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -125,6 +125,9 @@ chmod 644 "/etc/cron.d/$app"
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
# Import DB
ynh_mysql_execute_file_as_root --file="$final_path/database/phplicensewatcher.sql" --database="$db_name"
ynh_add_config --template="../conf/sample-config.php" --destination="$final_path/config.php"
chmod 400 "$final_path/config.php"