From e83eb54d1fdbd2541f0dcc8abb6f17e7625b2b96 Mon Sep 17 00:00:00 2001 From: Thomas Omans Date: Sat, 12 Oct 2013 15:57:42 -0700 Subject: [PATCH] supervisorctl: user expansion on config filepath --- web_infrastructure/supervisorctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_infrastructure/supervisorctl b/web_infrastructure/supervisorctl index bcdd300261d..a907c66a412 100644 --- a/web_infrastructure/supervisorctl +++ b/web_infrastructure/supervisorctl @@ -118,7 +118,7 @@ def main(): supervisorctl_args = [ module.get_bin_path('supervisorctl', True) ] if config: - supervisorctl_args.extend(['-c', config]) + supervisorctl_args.extend(['-c', os.path.expanduser(config)]) if server_url: supervisorctl_args.extend(['-s', server_url]) if username: