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

Merge pull request #1 from YunoHost-Apps/testing

cleaning
This commit is contained in:
eric_G 2023-10-04 19:33:55 +02:00 committed by GitHub
commit 46fe0acf0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 20 additions and 21 deletions

View file

@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
This is a dummy description of this app features
**Shipped version:** 1.0~ynh1
**Shipped version:** 2023.10.04~ynh1
**Demo:** https://demo.itflow.org/

View file

@ -19,7 +19,7 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
Ceci est une fausse description des fonctionalités de l'app
**Version incluse :** 1.0~ynh1
**Version incluse :** 2023.10.04~ynh1
**Démo :** https://demo.itflow.org/

View file

@ -0,0 +1,13 @@
<?php
$dbhost = 'localhost';
$dbusername = '__DB_USER__';
$dbpassword = '__DB_PWD__';
$database = '__DB_NAME__';
$mysqli = mysqli_connect($dbhost, $dbusername, $dbpassword, $database) or die('Database Connection Failed');
$config_app_name = 'ITFlow';
$config_base_url = '__DOMAIN____PATH__';
$config_https_only = false;
$repo_branch = 'master';
$installation_id = 'BmBuGzc3WzV33egS36g0K3miyQGWOfKP';
$config_enable_setup = 0;

View file

@ -1,3 +0,0 @@
This is a dummy admin doc for this app
The app install dir is `__INSTALL_DIR__`

View file

@ -1,3 +0,0 @@
Ceci est une fausse doc d'admin pour cette app
Le dossier d'install de l'app est `__INSTALL_DIR__`

View file

@ -1,2 +1,3 @@
db name `__DB_NAME__`
db pwd `__DB_PWD__`
data base name `__DB_NAME__`
data base user `__DB_NAME__`
data base password `__DB_PWD__`

View file

@ -7,7 +7,7 @@ name = "Itflow"
description.en = "IT documentation, ticketing and accounting system for small MSPs"
description.fr = "Système de documentation, de billetterie et de comptabilité pour les petits MSP"
version = "1.0~ynh1"
version = "2023.10.04~ynh1"
maintainers = ["eric_G"]

View file

@ -45,7 +45,7 @@ chmod 644 "/etc/cron.d/$app"
#ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php"
#chmod 400 "$install_dir/config.php"
#chmod 644 "$install_dir/config.php"
#chown $app:$app "$install_dir/config.php"
#=================================================

View file

@ -46,8 +46,6 @@ ynh_restore_file --origin_path="/etc/cron.d/$app"
#=================================================
ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1
# Typically you only have either $app or php-fpm but not both at the same time...
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name=php$phpversion-fpm --action=reload
ynh_systemd_action --service_name=nginx --action=reload

View file

@ -55,13 +55,6 @@ ynh_add_nginx_config
#chmod 400 "$install_dir/config.php"
#chown $app:$app "$install_dir/config.php"
#=================================================
# START SYSTEMD SERVICE
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
#=================================================
# END OF SCRIPT
#=================================================