Commit 0b639e6f authored by Peter Palfrader's avatar Peter Palfrader

Import from incoming-dumppath, not dumppath

parent 0316e9e4
......@@ -55,7 +55,7 @@ if options.conffile is None:
config = yaml.load(open(options.conffile).read())
db = DBHelper(config['db']['connectstring'])
os.chdir(config['dump']['dumppath'])
os.chdir(config['dump']['incoming-dumppath'])
if not os.path.exists(options.snapshot) or not os.access(options.snapshot, os.X_OK):
sys.stderr.write("%s does not exist or is not exectuable\n"%(options.snapshot))
......
......@@ -14,6 +14,7 @@ db-ro:
user: guest
dump:
dumppath: /srv/snapshot/dumps
incoming-dumppath: /srv/snapshot/dumps
snapshot:
farmpath: /srv/snapshot/farm2
log:
......
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