Difference between revisions of "Talk:Ns register proc"
Jump to navigation
Jump to search
(getting modules to reload) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 5: | Line 5: | ||
Explanation: | 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. | + | 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) |
− | --[[User: | + | * 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)