use koha_user and group variable - correct logrotate conf

This commit is contained in:
2022-06-20 14:06:46 +02:00
parent c690fa8508
commit 221d617624
4 changed files with 5 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ koha_install_dir: "{{ koha_home_dir }}/koha"
koha_src_dir: "{{ koha_home_dir }}/Koha-{{ koha_version }}"
koha_opac_hostname: koha.opendoor.fr
koha_user: koha
koha_group: koha
koha_intranet_hostname: sigb.opendoor.fr
koha_mariadb_server: localhost
koha_mariadb_user: "kohauser"

View File

@@ -6,6 +6,7 @@ koha_home_dir: /home/koha
koha_install_dir: "{{ koha_home_dir }}/koha"
koha_src_dir: "{{ koha_home_dir }}/Koha-v{{ koha_version }}"
koha_user: koha
koha_group: koha
koha_opac_hostname: koha.opendoor.fr
koha_intranet_hostname: sigb.opendoor.fr
koha_mariadb_server: localhost

View File

@@ -37,7 +37,8 @@
6333363164313030340a336430326334613435333161656435373962316266333765326462393238
6237
user:
name: koha
name: "{{ koha_user }}"
group: "{{ koha_group }}"
home: "{{ koha_home_dir }}"
shell: /bin/bash
create_home: yes

View File

@@ -5,6 +5,7 @@
weekly
missingok
compress
su {{ koha_user }} {{ koha_group }}
delaycompress
notifempty
sharedscripts