fix kanboard data dir

This commit is contained in:
Tim Schubert 2022-06-28 21:46:29 +02:00
parent 1c3918a3c3
commit 74f63afb19
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
2 changed files with 5 additions and 1 deletions

View file

@ -21,6 +21,10 @@ in {
users.users.kanboard.group = "kanboard";
users.groups.kanboard.members = ["kanboard"];
systemd.tmpfiles.rules = [
"d /var/lib/kanboard/data 0750 kanboard nginx - -"
];
services.nginx = {
enable = true;
virtualHosts."kanboard.dadada.li" = {

View file

@ -7,7 +7,7 @@
/*******************************************************************/
// Data folder (must be writeable by the web server user and absolute)
define('DATA_DIR', __DIR__.DIRECTORY_SEPARATOR.'data');
define('DATA_DIR', '/var/lib/kanboard/data');
// Enable/Disable debug
define('DEBUG', false);