Commit 1dbdd9d6 by Thomas Omans

supervisorctl: user expansion on config filepath

parent a20d5462
...@@ -118,7 +118,7 @@ def main(): ...@@ -118,7 +118,7 @@ def main():
supervisorctl_args = [ module.get_bin_path('supervisorctl', True) ] supervisorctl_args = [ module.get_bin_path('supervisorctl', True) ]
if config: if config:
supervisorctl_args.extend(['-c', config]) supervisorctl_args.extend(['-c', os.path.expanduser(config)])
if server_url: if server_url:
supervisorctl_args.extend(['-s', server_url]) supervisorctl_args.extend(['-s', server_url])
if username: if username:
......
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