mise au point, separation spec iep dans role separé
This commit is contained in:
15
templates/logrotate.koha
Normal file
15
templates/logrotate.koha
Normal 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
|
||||
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user