1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glpi_ynh.git synced 2024-09-03 20:36:21 +02:00
This commit is contained in:
Éric Gaspar 2023-01-25 15:20:38 +01:00
parent 7f98760779
commit 8929aae551
3 changed files with 4 additions and 3 deletions

View file

@ -1 +1 @@
*/1 * * * * root /usr/bin/php__PHPVERSION__ __FINALPATH__/front/cron.php &>/dev/null
*/1 * * * * __APP__ /usr/bin/php__PHPVERSION__ __FINALPATH__/front/cron.php &>/dev/null

View file

@ -4,7 +4,9 @@
# COMMON VARIABLES
#=================================================
php_dependencies="php$YNH_DEFAULT_PHP_VERSION-curl php$YNH_DEFAULT_PHP_VERSION-fileinfo php$YNH_DEFAULT_PHP_VERSION-gd php$YNH_DEFAULT_PHP_VERSION-json php$YNH_DEFAULT_PHP_VERSION-mbstring php$YNH_DEFAULT_PHP_VERSION-mysqli php$YNH_DEFAULT_PHP_VERSION-simplexml php$YNH_DEFAULT_PHP_VERSION-xml php$YNH_DEFAULT_PHP_VERSION-intl php$YNH_DEFAULT_PHP_VERSION-cli php$YNH_DEFAULT_PHP_VERSION-ldap php$YNH_DEFAULT_PHP_VERSION-xmlrpc php$YNH_DEFAULT_PHP_VERSION-bz2 php$YNH_DEFAULT_PHP_VERSION-zip"
YNH_PHP_VERSION=8.0
php_dependencies="php$YNH_PHP_VERSION-curl php$YNH_PHP_VERSION-fileinfo php$YNH_PHP_VERSION-gd php$YNH_PHP_VERSION-json php$YNH_PHP_VERSION-mbstring php$YNH_PHP_VERSION-mysqli php$YNH_PHP_VERSION-simplexml php$YNH_PHP_VERSION-xml php$YNH_PHP_VERSION-intl php$YNH_PHP_VERSION-cli php$YNH_PHP_VERSION-ldap php$YNH_PHP_VERSION-xmlrpc php$YNH_PHP_VERSION-bz2 php$YNH_PHP_VERSION-zip"
# dependencies used by the app (must be on a single line)
pkg_dependencies="$php_dependencies"

View file

@ -74,7 +74,6 @@ db_name=$(ynh_sanitize_dbid --db_name=$app)
db_user=$db_name
ynh_app_setting_set --app=$app --key=db_name --value=$db_name
ynh_mysql_setup_db --db_user=$db_user --db_name=$db_name
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE