1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpservermon_ynh.git synced 2024-09-03 19:56:40 +02:00
This commit is contained in:
ericgaspar 2021-07-17 12:10:11 +02:00 committed by BenoitCier
parent a9b2f96619
commit d144c2e181
3 changed files with 5 additions and 3 deletions

View file

@ -4,6 +4,6 @@ define('PSM_DB_USER', '__DB_NAME__');
define('PSM_DB_PASS', '__DB_PWD__'); define('PSM_DB_PASS', '__DB_PWD__');
define('PSM_DB_NAME', '__DB_NAME__'); define('PSM_DB_NAME', '__DB_NAME__');
define('PSM_DB_HOST', 'localhost'); define('PSM_DB_HOST', 'localhost');
define('PSM_DB_PORT', '3306'); //3306 is the default port for MySQL. If no specfic port is used, leave it empty. define('PSM_DB_PORT', '3306');
define('PSM_BASE_URL', '__PATH__'); define('PSM_BASE_URL', '__PATH__');
define('PSM_WEBCRON_KEY', ''); define('PSM_WEBCRON_KEY', '');

View file

@ -3,8 +3,8 @@
"id": "phpservermon", "id": "phpservermon",
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "$app is a script that checks whether your websites and servers are up and running", "en": "Script that checks whether your websites and servers are up and running",
"fr": "$app est un application pour vérifier que vos sites web et serveurs fonctionnent" "fr": "Application pour vérifier que vos sites web et serveurs fonctionnent"
}, },
"version": "3.5.2~ynh4", "version": "3.5.2~ynh4",
"url": "www.phpservermonitor.org", "url": "www.phpservermonitor.org",

View file

@ -102,6 +102,8 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#================================================= #=================================================
ynh_add_config --template="$final_path/config.php.sample" --destination="$final_path/config.php" ynh_add_config --template="$final_path/config.php.sample" --destination="$final_path/config.php"
chmod 400 "$final_path/config.php"
chown $app "$final_path/config.php"
#================================================= #=================================================
# SETUP A CRON # SETUP A CRON