]> git.koha-community.org Git - koha.git/commit
Bug 4873 - Ensure that the required directories exist on init
authorJohn Seymour <John.Seymour@nal.gov.au>
Fri, 22 Jul 2011 03:08:40 +0000 (15:08 +1200)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Mon, 1 Aug 2011 16:31:03 +0000 (12:31 -0400)
commitb2d8e81b510a168d13c1e85bc7347b066073daac
tree213602e733e9d2b168acee9366cd82eb02f3f6ec
parent19e4e59659244a71e6be8d74e15285ea4827ee9f
Bug 4873 - Ensure that the required directories exist on init

As systems (Ubuntu already, Debian testing is doing it too) move to
ramdisking /var/run and /var/lock, or otherwise clearing them on boot,
we need to ensure that they're there when we need them. This patch
autocreates any directories that are missing when the init script runs.

Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit fb347c97ac996a5d50559bee62b618ad0542b947)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
debian/koha-common.init