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: