1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/owncloud_ynh.git synced 2024-09-03 19:56:25 +02:00
This commit is contained in:
Éric Gaspar 2023-11-13 10:23:43 +01:00
parent beb6b3a3f0
commit 9a6aaff4c3
4 changed files with 15 additions and 15 deletions

View file

@ -1,15 +1,15 @@
OCIS_INSECURE=true
OCIS_URL=https://__DOMAIN__
PROXY_HTTP_ADDR=127.0.0.1:__PORT__
OCIS_BASE_DATA_PATH=__DATA_DIR__
FORCE_CONFIG_OVERWRITE=true
PROXY_TLS=false
OCIS_INSECURE=false
OCIS_LOG_LEVEL=warn
OCIS_CONFIG_DIR=__INSTALL_DIR__
OCIS_FORCE_CONFIG_OVERWRITE=true
ADMIN_PASSWORD=__PASSWORD__
OCIS_CONFIG_DIR=__INSTALL_DIR__
OCIS_BASE_DATA_PATH=__DATA_DIR__
IDM_ADMIN_PASSWORD=__PASSWORD__
IDM_ADMIN=__ADMIN__

View file

@ -5,9 +5,6 @@ Description=ownCloud Infinite Scale server
Type=simple
User=__APP__
Group=__APP__
Environment=OCIS_BASE_DATA_PATH=__DATA_DIR__
Environment=PROXY_HTTP_ADDR=127.0.0.1:__PORT__
Environment=OCIS_URL=https://__DOMAIN__
ExecStart=__INSTALL_DIR__/ocis server
Restart=always

View file

@ -37,6 +37,9 @@ ram.runtime = "50M"
type = "group"
default = "visitors"
[install.admin]
type = "user"
[install.password]
type = "password"

View file

@ -39,10 +39,10 @@ yunohost service add $app --description="File sharing platform" --log="/var/log/
#=================================================
#ynh_script_progression --message="Adding a configuration file..." --weight=1
#ynh_add_config --template="../conf/.env" --destination="$install_dir/.env"
#ynh_add_config --template=".env" --destination="$install_dir/ocis.env"
#chmod 600 "$install_dir/.env"
#chown $app:$app "$install_dir/.env"
#chmod 400 "$install_dir/ocis.env"
#chown $app:$app "$install_dir/ocis.env"
#=================================================
# INSTALL OWNCLOUD