Merge pull request #4477 from eggsby/devel

supervisorctl: user expansion on config filepath
reviewable/pr18780/r1
Michael DeHaan 11 years ago
commit 2921775944

@ -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:

Loading…
Cancel
Save