Commit 1bdac5da authored by Gabriel Monnerat's avatar Gabriel Monnerat

software/slaprunner: Fix path to restore from backup

slapuser4@COMP-2212:~/srv/testnode/bej/inst$ ./test0-5/bin/runner-importer
./test0-5/bin/runner-importer run at : Mon Mar 12 19:55:50 CET 2018
Restoring WebRunner content...
./test0-5/bin/runner-importer: line 49: cd: /srv/slapgrid/slappart4/srv/testnode/bej/inst/test0-5/srv/backup/runner/runner/: No such file or directory
parent b447a7bb
......@@ -23,7 +23,7 @@ md5sum = 16ff762e71c92f8a8e1062906eb10b9c
[template-runner-import-script]
filename = template/runner-import.sh.jinja2
md5sum = 1edd9c7a20e208b6cb647886bfb6d1bb
md5sum = 948a4a5fcb244131847e5df8480678e1
[instance-runner-import]
filename = instance-runner-import.cfg.in
......
......@@ -14,7 +14,7 @@ exec 2>&1
echo -e "\n\n$0 run at : $(date)"
srv_directory='{{ directory["srv"] }}'
backup_directory='{{ directory["backup"] }}'
backup_directory='{{ directory["backup"] }}/../'
etc_directory='{{ directory["etc"] }}'
RESTORE_EXIT_CODE_FILE='{{ restore_exit_code_file }}'
......
Markdown is supported
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