mise au point, separation spec iep dans role separé

This commit is contained in:
2022-01-27 09:33:50 +01:00
parent ade28050af
commit 2d3c870470
7 changed files with 54 additions and 19 deletions

15
templates/logrotate.koha Normal file
View File

@@ -0,0 +1,15 @@
# Rotate log files for all Koha instances.
{{ koha_install_dir }}/var/log/*log {
rotate 5
weekly
missingok
compress
delaycompress
notifempty
sharedscripts
postrotate
/bin/systemctl restart plack.service zebrasrv.service koha-sip
endscript
}

View File

@@ -5,7 +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 }}
Environment="KOHA_HOME={{ koha_install_dir }}"
Type=forking
User=root
ExecStart={{ koha_install_dir }}/bin/plack/koha-plack --start foobar