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>
#
do_start()
{
+ # We insure all required directories exist, including disabled ones.
+ koha-create-dirs $(koha-list)
koha-start-zebra $(koha-list --enabled)
}