Update dir arg destinations in config handle
This commit is contained in:
parent
6da2a1ced9
commit
63a1d07a28
@ -2,8 +2,8 @@ def process_config(config, arg, args, flags):
|
|||||||
args_override = {}
|
args_override = {}
|
||||||
if arg.match('session', flags):
|
if arg.match('session', flags):
|
||||||
args_override['SESSION_ID'] = getattr(args, 'session_id')
|
args_override['SESSION_ID'] = getattr(args, 'session_id')
|
||||||
args_override['SESSION_RUNTIME_DIR'] = getattr(args, 'runtime_dir')
|
args_override['SESSION_RUNTIME_DIR'] = getattr(args, 'runtime_path')
|
||||||
args_override['SESSION_DATA_DIR'] = getattr(args, 'data_dir')
|
args_override['SESSION_DATA_DIR'] = getattr(args, 'state_path')
|
||||||
|
|
||||||
if arg.match('socket', flags):
|
if arg.match('socket', flags):
|
||||||
args_override['SESSION_SOCKET_PATH'] = getattr(args, 'socket')
|
args_override['SESSION_SOCKET_PATH'] = getattr(args, 'socket')
|
||||||
|
Loading…
Reference in New Issue
Block a user