Stefan Sayer writes:

> that's intentional, for reloading app bundles there is this:
> 
> loadConfig(string conf_file_name, string conf_name)
>   (re)load application bundle ("app bundle"), configuration and scripts
>   like a file in conf_dir

Stefan,

Thanks for your reply.  I gave loadConfig a try:

# sems-stats -c "DI dsm loadConfig /etc/sems/dsm/test.conf test.conf"
sending 'DI dsm loadConfig /etc/sems/dsm/test.conf test.conf\n' to 
127.0.0.1:5040
received:
[200, 'OK']

and got to syslog:

Nov 22 13:42:02 lohi sems[686]: [#7f6bf04a8700] [loadConfig, DSM.cpp:433] INFO: 
 live DSM config reload does NOT reload prompts and prompt sets!
Nov 22 13:42:02 lohi sems[686]: [#7f6bf04a8700] [loadConfig, DSM.cpp:434] INFO: 
 (see http://tracker.iptel.org/browse/SEMS-68)
Nov 22 13:42:02 lohi sems[686]: [#7f6bf04a8700] [registerFactory4App, 
AmPlugIn.cpp:771] WARNING:  Application 'test' has already been registered and 
cannot be registered a second time

There is the warning, but looks like I do not need to care about it,
since after loadConfig, the edits that I had made to test.dsm had taken
effect.

-- Juha
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to