diff --git a/conf/install-conf.yml b/conf/install-conf.yml index c353510..8c030ab 100644 --- a/conf/install-conf.yml +++ b/conf/install-conf.yml @@ -19,4 +19,4 @@ dbtcpname: __DB_NAME__ dbtcpuser: __DB_USER__ dbtcppassword: __DB_PWD__ -dsfolder: __DATADIR__ \ No newline at end of file +dsfolder: __DATA_DIR__ diff --git a/conf/systemd.service b/conf/systemd.service index fe735c5..36716ab 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -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 diff --git a/manifest.toml b/manifest.toml index 813602e..13a132c 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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 = "/"