mirror of
https://github.com/YunoHost-Apps/owncloud_ynh.git
synced 2024-09-03 19:56:25 +02:00
commit
1ece53aedc
7 changed files with 25 additions and 17 deletions
|
@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
ownCloud Infinite Scale (oCIS) is the new file sync & share platform that will be the foundation of your data management platform.
|
ownCloud Infinite Scale (oCIS) is the new file sync & share platform that will be the foundation of your data management platform.
|
||||||
|
|
||||||
**Shipped version:** 5.0.0~ynh3
|
**Shipped version:** 5.0.0~ynh4
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
||||||
ownCloud Infinite Scale (oCIS) est la nouvelle plateforme de synchronisation et de partage de fichiers qui constituera la base de votre plateforme de gestion de données.
|
ownCloud Infinite Scale (oCIS) est la nouvelle plateforme de synchronisation et de partage de fichiers qui constituera la base de votre plateforme de gestion de données.
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 5.0.0~ynh3
|
**Version incluse :** 5.0.0~ynh4
|
||||||
|
|
||||||
## Captures d’écran
|
## Captures d’écran
|
||||||
|
|
||||||
|
|
11
conf/.env
11
conf/.env
|
@ -1,3 +1,5 @@
|
||||||
|
TZ=__TIMEZONE__
|
||||||
|
|
||||||
OCIS_URL=https://__DOMAIN__
|
OCIS_URL=https://__DOMAIN__
|
||||||
PROXY_HTTP_ADDR=127.0.0.1:__PORT__
|
PROXY_HTTP_ADDR=127.0.0.1:__PORT__
|
||||||
PROXY_TLS=true
|
PROXY_TLS=true
|
||||||
|
@ -13,12 +15,3 @@ OCIS_BASE_DATA_PATH=__DATA_DIR__
|
||||||
OCIS_DEFAULT_LANGUAGE=__LANGUAGE__
|
OCIS_DEFAULT_LANGUAGE=__LANGUAGE__
|
||||||
|
|
||||||
#OCIS_EXCLUDE_RUN_SERVICES=thumbnails
|
#OCIS_EXCLUDE_RUN_SERVICES=thumbnails
|
||||||
|
|
||||||
#AUTH_BASIC_AUTH_MANAGER=ldap
|
|
||||||
#OCIS_LDAP_URI=ldap://127.0.0.1:389
|
|
||||||
#OCIS_LDAP_USER_BASE_DN='ou=users,dc=yunohost,dc=org'
|
|
||||||
#OCIS_LDAP_GROUP_BASE_DN='ou=groups,dc=yunohost,dc=org'
|
|
||||||
#OCIS_LDAP_USER_FILTER='(&(|(objectclass=posixAccount))(uid=%uid)(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))'
|
|
||||||
#OCIS_LDAP_LOGIN_ATTRIBUTES=uid
|
|
||||||
#OCIS_LDAP_USER_SCHEMA_MAIL=mail
|
|
||||||
#OCIS_LDAP_GROUP_SCHEMA_DISPLAYNAME=cn
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ name = "ownCloud"
|
||||||
description.en = "Online storage, file sharing platform"
|
description.en = "Online storage, file sharing platform"
|
||||||
description.fr = "Stockage en ligne, plateforme de partage de fichiers"
|
description.fr = "Stockage en ligne, plateforme de partage de fichiers"
|
||||||
|
|
||||||
version = "5.0.0~ynh3"
|
version = "5.0.0~ynh4"
|
||||||
|
|
||||||
maintainers = ["eric_G"]
|
maintainers = ["eric_G"]
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ ldap = false
|
||||||
sso = false
|
sso = false
|
||||||
|
|
||||||
disk = "50M"
|
disk = "50M"
|
||||||
ram.build = "300M"
|
ram.build = "800M"
|
||||||
ram.runtime = "50M"
|
ram.runtime = "50M"
|
||||||
|
|
||||||
[install]
|
[install]
|
||||||
|
@ -41,7 +41,7 @@ ram.runtime = "50M"
|
||||||
ask.en = "Choose the application language"
|
ask.en = "Choose the application language"
|
||||||
ask.fr = "Choisissez la langue de l'application"
|
ask.fr = "Choisissez la langue de l'application"
|
||||||
type = "select"
|
type = "select"
|
||||||
choices = ["de", "fr", "en"]
|
choices = ["cs", "de", "en", "es", "fr", "gl", "it"]
|
||||||
default = "fr"
|
default = "fr"
|
||||||
|
|
||||||
[install.password]
|
[install.password]
|
||||||
|
@ -61,15 +61,14 @@ ram.runtime = "50M"
|
||||||
in_subdir = false
|
in_subdir = false
|
||||||
rename = "ocis"
|
rename = "ocis"
|
||||||
|
|
||||||
[resources.ports]
|
|
||||||
main.default = 9200
|
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
|
||||||
[resources.install_dir]
|
[resources.install_dir]
|
||||||
|
|
||||||
[resources.data_dir]
|
[resources.data_dir]
|
||||||
|
|
||||||
|
[resources.ports]
|
||||||
|
|
||||||
[resources.permissions]
|
[resources.permissions]
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
main.auth_header = false
|
main.auth_header = false
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
source _common.sh
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
timezone=$(cat /etc/timezone)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD MODIFICATIONS
|
# STANDARD MODIFICATIONS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
source _common.sh
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
timezone=$(cat /etc/timezone)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
source _common.sh
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
timezone=$(cat /etc/timezone)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CHECK VERSION
|
# CHECK VERSION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -53,6 +55,16 @@ ynh_add_systemd_config
|
||||||
|
|
||||||
yunohost service add $app --description="File sharing platform" --log="/var/log/$app/$app.log"
|
yunohost service add $app --description="File sharing platform" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# ADD A CONFIGURATION
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
|
ynh_add_config --template=".env" --destination="$install_dir/ocis.env"
|
||||||
|
|
||||||
|
chmod 400 "$install_dir/ocis.env"
|
||||||
|
chown $app:$app "$install_dir/ocis.env"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue