mirror of
https://github.com/YunoHost-Apps/owncloud_ynh.git
synced 2024-09-03 19:56:25 +02:00
fix
This commit is contained in:
parent
beb6b3a3f0
commit
9a6aaff4c3
4 changed files with 15 additions and 15 deletions
18
conf/.env
18
conf/.env
|
@ -1,15 +1,15 @@
|
||||||
OCIS_INSECURE=true
|
|
||||||
|
|
||||||
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=false
|
||||||
OCIS_BASE_DATA_PATH=__DATA_DIR__
|
OCIS_INSECURE=false
|
||||||
|
|
||||||
FORCE_CONFIG_OVERWRITE=true
|
|
||||||
|
|
||||||
OCIS_LOG_LEVEL=warn
|
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__
|
|
@ -5,9 +5,6 @@ Description=ownCloud Infinite Scale server
|
||||||
Type=simple
|
Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__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
|
ExecStart=__INSTALL_DIR__/ocis server
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,9 @@ ram.runtime = "50M"
|
||||||
type = "group"
|
type = "group"
|
||||||
default = "visitors"
|
default = "visitors"
|
||||||
|
|
||||||
|
[install.admin]
|
||||||
|
type = "user"
|
||||||
|
|
||||||
[install.password]
|
[install.password]
|
||||||
type = "password"
|
type = "password"
|
||||||
|
|
||||||
|
|
|
@ -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_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"
|
#chmod 400 "$install_dir/ocis.env"
|
||||||
#chown $app:$app "$install_dir/.env"
|
#chown $app:$app "$install_dir/ocis.env"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL OWNCLOUD
|
# INSTALL OWNCLOUD
|
||||||
|
|
Loading…
Add table
Reference in a new issue