Stopping and restarting Yate: Difference between revisions

From Yate Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
If you have [[rmanager]] module you can also connect to port 5038 and use "stop" to stop the engine, and "reload" to reload the configurations.  
If you have [[rmanager]] module you can also connect to port 5038 and use "stop" to stop the engine, and "reload" to reload the configurations.  


'''Note''' that the modules are not reloaded, only their configuration files are read. Also note that some modules have options that are read only on the first initialization.
'''Note''' that the modules are not reloaded, only their [[Configuration Files|configuration files]] are read. Also note that some modules have options that are read only on the first initialization.


If Yate is started in supervised mode (command line option -s) it can also be restarted from rmanager using "stop 128" - in fact any code between 128 and 255. The program will be stopped cleanly then the supervisor will restart it with the same command line options.
If Yate is started in supervised mode (command line option -s) it can also be restarted from rmanager using "stop 128" - in fact any code between 128 and 255. The program will be stopped cleanly then the supervisor will restart it with the same command line options.

Revision as of 10:40, 14 January 2013

While running the following signals and keys are trapped and used:

 - SIGTERM and SIGINT (Ctrl-C) will cleanly stop the engine
 - SIGHUP and SIGQUIT (Ctrl-\) will reinitialize the modules

If you have rmanager module you can also connect to port 5038 and use "stop" to stop the engine, and "reload" to reload the configurations.

Note that the modules are not reloaded, only their configuration files are read. Also note that some modules have options that are read only on the first initialization.

If Yate is started in supervised mode (command line option -s) it can also be restarted from rmanager using "stop 128" - in fact any code between 128 and 255. The program will be stopped cleanly then the supervisor will restart it with the same command line options.