Add data dir

This commit is contained in:
Salamandar 2023-06-12 20:04:44 +02:00
parent 0db2a83105
commit e16737767b
3 changed files with 4 additions and 5 deletions

View file

@ -19,4 +19,4 @@ dbtcpname: __DB_NAME__
dbtcpuser: __DB_USER__
dbtcppassword: __DB_PWD__
dsfolder: __DATADIR__
dsfolder: __DATA_DIR__

View file

@ -25,7 +25,7 @@ SuccessExitStatus=0
# Add environment variables
Environment=CELLS_ENABLE_METRICS=false
# Environment=CELLS_WORKING_DIR=__INSTALL_DIR__
# Environment=CELLS_DATA_DIR=__DATADIR__
# Environment=CELLS_DATA_DIR=__DATA_DIR__
[Install]
WantedBy=multi-user.target

View file

@ -67,9 +67,8 @@ ram.runtime = "50M"
[resources.install_dir]
# [resources.data_dir]
# This will create/remove the data dir as /home/yunohost.app/$app
# and store the corresponding setting $data_dir
[resources.data_dir]
group = "www-data:rwx"
[resources.permissions]
main.url = "/"