http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13896

            Bug ID: 13896
           Summary: PID is created in /tmp/ instead of in
                    /var/run/koha/...
 Change sponsored?: ---
           Product: Koha
           Version: 3.18
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: trivial
          Priority: P5 - low
         Component: Packaging
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

The daemon command uses /tmp/ as default directory for creating pid files
unless the directory has been specified explicitly. This affects only the
debian start scripts. The following patch fixes this

--- a/debian/scripts/koha-start-zebra
+++ b/debian/scripts/koha-start-zebra
@@ -40,6 +40,7 @@ start_zebra_instance()
         "/var/log/koha/$instancename/zebra-output.log"
     daemon \
         --name="$instancename-koha-zebra" \
+        --pidfiles="/var/run/koha/$instancename/" \
         --errlog="/var/log/koha/$instancename/zebra-error.log" \
         --stdout="/var/log/koha/$instancename/zebra.log" \
         --output="/var/log/koha/$instancename/zebra-output.log" \

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to