Difference between revisions of "Talk:Ns register proc"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 7: | Line 7: | ||
I have a module "mymod.tcl" in "/usr/lib/aolserver4/servers/main/modules/tcl". I want to change a small bit of behavior in the module, say, correcting a typographical error. In order to get this change to be read by the server, I have to stop and then start the server. This is not desired. --[[User:Caveman|Caveman]] 16:31, 11 January 2006 (EST) | I have a module "mymod.tcl" in "/usr/lib/aolserver4/servers/main/modules/tcl". I want to change a small bit of behavior in the module, say, correcting a typographical error. In order to get this change to be read by the server, I have to stop and then start the server. This is not desired. --[[User:Caveman|Caveman]] 16:31, 11 January 2006 (EST) | ||
− | * You want to look at [[ns_eval]]. ''-- [[User:Dossy|Dossy]] 21:00, 12 January 2006 (EST)'' | + | * You want to look at [[ns_eval]]. Specifically, you would do something like "ns_eval source /usr/lib/aolserver4/servers/main/modules/tcl/mymod.tcl" to source in that file in all active Tcl interps. ''-- [[User:Dossy|Dossy]] 21:00, 12 January 2006 (EST)'' |
+ | |||
+ | ** Awesome. Thanks as usual, Dossy. --[[User:68.164.214.148|68.164.214.148]] 22:24, 12 January 2006 (EST) |
Latest revision as of 03:24, 13 January 2006
getting modules to reload
Using stock install of Debian's AOLserver package, I am trying to figure out how to get my modules to automatically reload (or even manually) without having to restart the entire server. Is this possible? If so, how?
Explanation:
I have a module "mymod.tcl" in "/usr/lib/aolserver4/servers/main/modules/tcl". I want to change a small bit of behavior in the module, say, correcting a typographical error. In order to get this change to be read by the server, I have to stop and then start the server. This is not desired. --Caveman 16:31, 11 January 2006 (EST)
- You want to look at ns_eval. Specifically, you would do something like "ns_eval source /usr/lib/aolserver4/servers/main/modules/tcl/mymod.tcl" to source in that file in all active Tcl interps. -- Dossy 21:00, 12 January 2006 (EST)
- Awesome. Thanks as usual, Dossy. --68.164.214.148 22:24, 12 January 2006 (EST)