From 568bba9796da9efc7e0dc895df8cceb765871742 Mon Sep 17 00:00:00 2001 From: SebClem Date: Wed, 19 Apr 2023 17:59:41 +0200 Subject: [PATCH] Fix working dir --- templates/lldap.service.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/lldap.service.j2 b/templates/lldap.service.j2 index 51ca014..63bf096 100644 --- a/templates/lldap.service.j2 +++ b/templates/lldap.service.j2 @@ -15,8 +15,8 @@ UMask=027 ExecStart={{ lldap_install_dir }}/lldap run --config-file {{ lldap_config_dir }}/lldap-config.toml # Only allow writes to the following directory and set it to the working directory (user and password data are stored here). -WorkingDirectory={{ lldap_data_dir }} -ReadWriteDirectories={{ lldap_data_dir }} +WorkingDirectory={{ lldap_install_dir }} +ReadWriteDirectories={{ lldap_install_dir }} [Install] WantedBy=multi-user.target \ No newline at end of file