use koha_user and group variable - correct logrotate conf
This commit is contained in:
@@ -20,6 +20,7 @@ koha_install_dir: "{{ koha_home_dir }}/koha"
|
|||||||
koha_src_dir: "{{ koha_home_dir }}/Koha-{{ koha_version }}"
|
koha_src_dir: "{{ koha_home_dir }}/Koha-{{ koha_version }}"
|
||||||
koha_opac_hostname: koha.opendoor.fr
|
koha_opac_hostname: koha.opendoor.fr
|
||||||
koha_user: koha
|
koha_user: koha
|
||||||
|
koha_group: koha
|
||||||
koha_intranet_hostname: sigb.opendoor.fr
|
koha_intranet_hostname: sigb.opendoor.fr
|
||||||
koha_mariadb_server: localhost
|
koha_mariadb_server: localhost
|
||||||
koha_mariadb_user: "kohauser"
|
koha_mariadb_user: "kohauser"
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ koha_home_dir: /home/koha
|
|||||||
koha_install_dir: "{{ koha_home_dir }}/koha"
|
koha_install_dir: "{{ koha_home_dir }}/koha"
|
||||||
koha_src_dir: "{{ koha_home_dir }}/Koha-v{{ koha_version }}"
|
koha_src_dir: "{{ koha_home_dir }}/Koha-v{{ koha_version }}"
|
||||||
koha_user: koha
|
koha_user: koha
|
||||||
|
koha_group: koha
|
||||||
koha_opac_hostname: koha.opendoor.fr
|
koha_opac_hostname: koha.opendoor.fr
|
||||||
koha_intranet_hostname: sigb.opendoor.fr
|
koha_intranet_hostname: sigb.opendoor.fr
|
||||||
koha_mariadb_server: localhost
|
koha_mariadb_server: localhost
|
||||||
|
|||||||
@@ -37,7 +37,8 @@
|
|||||||
6333363164313030340a336430326334613435333161656435373962316266333765326462393238
|
6333363164313030340a336430326334613435333161656435373962316266333765326462393238
|
||||||
6237
|
6237
|
||||||
user:
|
user:
|
||||||
name: koha
|
name: "{{ koha_user }}"
|
||||||
|
group: "{{ koha_group }}"
|
||||||
home: "{{ koha_home_dir }}"
|
home: "{{ koha_home_dir }}"
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
create_home: yes
|
create_home: yes
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
weekly
|
weekly
|
||||||
missingok
|
missingok
|
||||||
compress
|
compress
|
||||||
|
su {{ koha_user }} {{ koha_group }}
|
||||||
delaycompress
|
delaycompress
|
||||||
notifempty
|
notifempty
|
||||||
sharedscripts
|
sharedscripts
|
||||||
|
|||||||
Reference in New Issue
Block a user