From 02dcf7970a3cd00c97163078513901a363a7c24d Mon Sep 17 00:00:00 2001
From: "Dmitry E. Oboukhov" <unera@debian.org>
Date: Thu, 10 May 2012 13:49:46 +0400
Subject: [PATCH] Debian: add script_dir into example.cfg. add directory for
 scripts

---
 debian/etc/example.cfg | 6 ++++++
 debian/tarantool.dirs  | 1 +
 2 files changed, 7 insertions(+)
 create mode 100644 debian/tarantool.dirs

diff --git a/debian/etc/example.cfg b/debian/etc/example.cfg
index 166250a6f3..5a42a36734 100644
--- a/debian/etc/example.cfg
+++ b/debian/etc/example.cfg
@@ -26,6 +26,12 @@ file_descriptors = 8192
 #
 admin_port = 33015
 
+#
+# directory that contains lua procedures
+# (the first script must have name 'init.lua')
+#
+script_dir = /usr/share/tarantool/lua/
+
 #
 # Each write ahead log contains this many rows.
 # When the limit is reached, Tarantool closes
diff --git a/debian/tarantool.dirs b/debian/tarantool.dirs
new file mode 100644
index 0000000000..a7efa8bdd6
--- /dev/null
+++ b/debian/tarantool.dirs
@@ -0,0 +1 @@
+/usr/share/tarantool/lua
-- 
GitLab