Commit 422a459c authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(lyskomd_start): New optional argument: db_suffix.

parent 80ead831
...@@ -261,7 +261,8 @@ proc unanchored_expect {regex testname} { ...@@ -261,7 +261,8 @@ proc unanchored_expect {regex testname} {
proc lyskomd_start {{aux_item_conf_file ""} \ proc lyskomd_start {{aux_item_conf_file ""} \
{extra_config ""} \ {extra_config ""} \
{base_config ""} \ {base_config ""} \
{args ""}} { {args ""} \
{db_suffix ""}} {
global spawn_id global spawn_id
global server_id global server_id
...@@ -290,7 +291,7 @@ proc lyskomd_start {{aux_item_conf_file ""} \ ...@@ -290,7 +291,7 @@ proc lyskomd_start {{aux_item_conf_file ""} \
close $f close $f
system "rm -rf db etc" system "rm -rf db etc"
system "mkdir db etc" system "mkdir db etc"
system "cp $top_srcdir/db-crypt/db/lyskomd-data db/" system "cp $top_srcdir/db-crypt/db/lyskomd-data$db_suffix db/lyskomd-data"
system "cp $top_srcdir/db-crypt/db/lyskomd-texts db/" system "cp $top_srcdir/db-crypt/db/lyskomd-texts db/"
system "chmod 644 db/lyskomd-data db/lyskomd-texts" system "chmod 644 db/lyskomd-data db/lyskomd-texts"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment