From 99496dd9be84f0b40d4c4165c0698dd7d9198bba Mon Sep 17 00:00:00 2001 From: Thomas Constans Date: Mon, 6 Dec 2021 17:06:28 +0100 Subject: [PATCH] mise au point plack --- tasks/plack.yml | 9 +++++++++ templates/koha.env.sh | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/tasks/plack.yml b/tasks/plack.yml index dfdf188..18c1dfd 100644 --- a/tasks/plack.yml +++ b/tasks/plack.yml @@ -5,6 +5,15 @@ owner: koha group: koha +- name: copy plack script + copy: + remote_src: yes + src: "{{ koha_src_dir }}/debian/templates/plack.psgi" + dest: "{{ koha_install_dir }}/bin/plack/koha.psgi" + owner: koha + group: koha + mode: 0755 + - name: deploy plack script template: src: koha-plack diff --git a/templates/koha.env.sh b/templates/koha.env.sh index 7c3744d..14cd5ed 100644 --- a/templates/koha.env.sh +++ b/templates/koha.env.sh @@ -1,3 +1,4 @@ export KOHA_CONF={{ koha_install_dir }}/etc/koha-conf.xml export KOHA_CRON_PATH={{ koha_install_dir }}/bin/cronjobs -export PERL5LIB={{ koha_install_dir }}/lib \ No newline at end of file +export PERL5LIB={{ koha_install_dir }}/lib +export KOHA_HOME={{ koha_install_dir }} \ No newline at end of file