From 1dbdd9d6d147230fa864a99343f3dbf97262ca30 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 --- library/web_infrastructure/supervisorctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/web_infrastructure/supervisorctl b/library/web_infrastructure/supervisorctl index bcdd300261..a907c66a41 100644 --- a/library/web_infrastructure/supervisorctl +++ b/library/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: