correction pb permissions sur rep run et log
ajout var environnement pour plack reorganisation des taches apache
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
# defaults file for tco.koha
|
||||
|
||||
koha_version: 21.05.05
|
||||
koha_version: 21.05.07
|
||||
koha_home_dir: /home/koha
|
||||
koha_install_dir: "{{ koha_home_dir }}/koha"
|
||||
koha_src_dir: "{{ koha_home_dir }}/Koha-v{{ koha_version }}"
|
||||
|
||||
@@ -4,19 +4,6 @@
|
||||
name: libapache2-mpm-itk
|
||||
state: present
|
||||
|
||||
- name: activate required modules
|
||||
apache2_module:
|
||||
state: present
|
||||
name: "{{ item }}"
|
||||
loop:
|
||||
- rewrite
|
||||
- proxy
|
||||
- proxy_http
|
||||
- ssl
|
||||
- headers
|
||||
- cgi
|
||||
notify: reload apache
|
||||
|
||||
- name: configuration
|
||||
template:
|
||||
src: "{{ item }}"
|
||||
@@ -36,3 +23,16 @@
|
||||
- apache-shared-opac-plack.conf
|
||||
notify: reload apache
|
||||
|
||||
- name: activate required modules
|
||||
apache2_module:
|
||||
state: present
|
||||
name: "{{ item }}"
|
||||
loop:
|
||||
- rewrite
|
||||
- proxy
|
||||
- proxy_http
|
||||
- ssl
|
||||
- headers
|
||||
- cgi
|
||||
notify: reload apache
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
owner: koha
|
||||
group: www-data
|
||||
recurse: yes
|
||||
mode: 1775
|
||||
mode: 01775
|
||||
loop:
|
||||
- "{{ koha_install_dir }}/var/log"
|
||||
- "{{ koha_install_dir }}/var/run"
|
||||
|
||||
@@ -5,6 +5,7 @@ After=network.target remote-fs.target nss-lookup.target
|
||||
[Service]
|
||||
Environment="KOHA_CONF={{ koha_install_dir }}/etc/koha-conf.xml"
|
||||
Environment="PERL5LIB={{ koha_install_dir }}/lib"
|
||||
KOHA_HOME={{ koha_install_dir }}
|
||||
Type=forking
|
||||
User=root
|
||||
ExecStart={{ koha_install_dir }}/bin/plack/koha-plack --start foobar
|
||||
|
||||
Reference in New Issue
Block a user