A final tweak to the debian packages template to ensure the lock
file is under /var/lock/koha/INSTANCENAME.  Its not ideal but
this work for all legacy and new instalations.
---
 debian/templates/koha-conf-site.xml.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/templates/koha-conf-site.xml.in 
b/debian/templates/koha-conf-site.xml.in
index e15e249..bae4bf8 100644
--- a/debian/templates/koha-conf-site.xml.in
+++ b/debian/templates/koha-conf-site.xml.in
@@ -265,7 +265,7 @@
  <opachtdocs>/usr/share/koha/opac/htdocs/opac-tmpl</opachtdocs>
  <intrahtdocs>/usr/share/koha/intranet/htdocs/intranet-tmpl</intrahtdocs>
  
<includes>/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/includes/</includes>
- <lockdir>/var/lock</lockdir>
+ <lockdir>/var/lock/koha/__KOHASITE__</lockdir>
  <logdir>/var/log/koha/__KOHASITE__</logdir>
  <docdir>/usr/share/doc/koha-common</docdir>
  <backupdir>/var/spool/koha/__KOHASITE__</backupdir>
-- 
1.7.9.5

_______________________________________________
Koha-patches mailing list
Koha-patches@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to