From: John Seymour <[email protected]> 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 <[email protected]> --- debian/koha-common.init | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/debian/koha-common.init b/debian/koha-common.init index 719a584..5be77d3 100755 --- a/debian/koha-common.init +++ b/debian/koha-common.init @@ -42,6 +42,8 @@ SCRIPTNAME=/etc/init.d/$NAME # do_start() { + # We insure all required directories exist, including disabled ones. + koha-create-dirs $(koha-list) koha-start-zebra $(koha-list --enabled) } -- 1.7.4.1 _______________________________________________ Koha-patches mailing list [email protected] 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/
