Skip to content

Commit 67e9c89

Browse files
committed
expand the host node name option on includes
1 parent 3ed820a commit 67e9c89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

supervisor/options.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,9 @@ def read_config(self, fp):
570570
if need_close:
571571
fp.close()
572572

573-
expansions = {'here':self.here}
573+
host_node_name = platform.node()
574+
expansions = {'here':self.here,
575+
'host_node_name':host_node_name}
574576
expansions.update(self.environ_expansions)
575577
if parser.has_section('include'):
576578
parser.expand_here(self.here)

0 commit comments

Comments
 (0)