mirror of
https://github.com/YunoHost-Apps/lutim_ynh.git
synced 2024-09-03 19:36:24 +02:00
commit
0428443f36
5 changed files with 11 additions and 27 deletions
|
@ -6,7 +6,7 @@
|
|||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
|
||||
> *This package allow you to install Lutim quickly and simply on a YunoHost server.
|
||||
If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.*
|
||||
If you don't have YunoHost, please see [here](https://yunohost.org/install) to know how to install and enjoy it.*
|
||||
|
||||
## Overview
|
||||
|
||||
|
@ -29,7 +29,7 @@ Then reload the lutim service.
|
|||
## Documentation
|
||||
|
||||
* Official documentation: https://framagit.org/luc/lutim/wikis/home
|
||||
* YunoHost documentation: https://yunohost.org/#/app_lutim
|
||||
* YunoHost documentation: https://yunohost.org/app_lutim
|
||||
|
||||
## YunoHost specific features
|
||||
|
||||
|
@ -39,8 +39,8 @@ Not relevant.
|
|||
|
||||
#### Supported architectures
|
||||
|
||||
* x86-64 - [![](https://ci-apps.yunohost.org/ci/logs/lutim%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/lutim/)
|
||||
* ARMv8-A - [![](https://ci-apps-arm.yunohost.org/ci/logs/lutim%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/lutim/)
|
||||
* x86-64 - [![](https://ci-apps.yunohost.org/ci/logs/lutim.svg)](https://ci-apps.yunohost.org/ci/apps/lutim/)
|
||||
* ARMv8-A - [![](https://ci-apps-arm.yunohost.org/ci/logs/lutim.svg)](https://ci-apps-arm.yunohost.org/ci/apps/lutim/)
|
||||
|
||||
## Limitations
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*[Read this readme in english.](./README.md)*
|
||||
|
||||
> *Ce package vous permet d'installer Lutim rapidement et simplement sur un serveur YunoHost.
|
||||
Si vous n'avez pas YunoHost, merci de regarder [ici](https://yunohost.org/#/install_fr) pour savoir comment l'installer et en profiter.*
|
||||
Si vous n'avez pas YunoHost, merci de regarder [ici](https://yunohost.org/install_fr) pour savoir comment l'installer et en profiter.*
|
||||
|
||||
## Vue d'ensemble
|
||||
|
||||
|
@ -29,7 +29,7 @@ Rechargez ensuite le service Lutim.
|
|||
## Documentation
|
||||
|
||||
* Documentation officielle : https://framagit.org/luc/lutim/wikis/home
|
||||
* Documentation YunoHost : https://yunohost.org/#/app_lutim_fr
|
||||
* Documentation YunoHost : https://yunohost.org/app_lutim
|
||||
|
||||
## Fonctionnalités spécifiques à YunoHost
|
||||
|
||||
|
@ -39,8 +39,8 @@ Non applicable.
|
|||
|
||||
#### Architectures supportées.
|
||||
|
||||
* x86-64 - [![](https://ci-apps.yunohost.org/ci/logs/lutim%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/lutim/)
|
||||
* ARMv8-A - [![](https://ci-apps-arm.yunohost.org/ci/logs/lutim%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/lutim/)
|
||||
* x86-64 - [![](https://ci-apps.yunohost.org/ci/logs/lutim.svg)](https://ci-apps.yunohost.org/ci/apps/lutim/)
|
||||
* ARMv8-A - [![](https://ci-apps-arm.yunohost.org/ci/logs/lutim.svg)](https://ci-apps-arm.yunohost.org/ci/apps/lutim/)
|
||||
|
||||
## Limitations
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"email": "maniackc_dev@crudelis.fr"
|
||||
}],
|
||||
"requirements": {
|
||||
"yunohost": ">= 3.8.1"
|
||||
"yunohost": ">= 4.1.7"
|
||||
},
|
||||
"multi_instance": false,
|
||||
"services": [
|
||||
|
@ -29,29 +29,17 @@
|
|||
{
|
||||
"name": "domain",
|
||||
"type": "domain",
|
||||
"ask": {
|
||||
"en": "Choose a domain for Lutim",
|
||||
"fr": "Choisissez un domaine pour Lutim"
|
||||
},
|
||||
"example": "domain.org"
|
||||
},
|
||||
{
|
||||
"name": "path",
|
||||
"type": "path",
|
||||
"ask": {
|
||||
"en": "Choose a path for Lutim",
|
||||
"fr": "Choisissez un chemin pour Lutim"
|
||||
},
|
||||
"example": "/lutim",
|
||||
"default": "/lutim"
|
||||
},
|
||||
{
|
||||
"name": "is_public",
|
||||
"type": "boolean",
|
||||
"ask": {
|
||||
"en": "Uploading images is it public?",
|
||||
"fr": "L'upload des images est-il public ?"
|
||||
},
|
||||
"default": false,
|
||||
"help": {
|
||||
"en": "If you set Lutim as public, everyone will be able to upload images and share them.<br>But even if not public, everyone can see an image from a link shared with your Lutim.",
|
||||
|
|
|
@ -139,9 +139,7 @@ ynh_add_systemd_config
|
|||
# SETUP CRON
|
||||
#=================================================
|
||||
|
||||
cp ../conf/cron_lutim /etc/cron.d/$app
|
||||
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path/" --target_file=/etc/cron.d/$app
|
||||
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file=/etc/cron.d/$app
|
||||
ynh_add_config --template="../conf/cron_lutim" --destination="/etc/cron.d/$app"
|
||||
chmod +x $final_path/script/lutim
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -255,9 +255,7 @@ fi
|
|||
# SETUP CRON
|
||||
#=================================================
|
||||
|
||||
cp ../conf/cron_lutim /etc/cron.d/$app
|
||||
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path/" --target_file=/etc/cron.d/$app
|
||||
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file=/etc/cron.d/$app
|
||||
ynh_add_config --template="../conf/cron_lutim" --destination="/etc/cron.d/$app"
|
||||
|
||||
#=================================================
|
||||
# UPDATE LUTIM WITH CARTON
|
||||
|
|
Loading…
Reference in a new issue