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__ dbtcpuser: __DB_USER__
dbtcppassword: __DB_PWD__ dbtcppassword: __DB_PWD__
dsfolder: __DATADIR__ dsfolder: __DATA_DIR__

View file

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

View file

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