//////////////////////////////////////////////////////////////////////////
//// This content is shared by all Elastic Beats. Make sure you keep the
//// descriptions here generic enough to work for all Beats that include
//// this file. When using cross references, make sure that the cross
//// references resolve correctly for any files that include this one.
//// Use the appropriate variables defined in the index.asciidoc file to
//// resolve Beat names: beatname_uc and beatname_lc.
//// Use the following include to pull this content into a doc file:
//// include::../../libbeat/docs/shared-shutdown.asciidoc[]
//////////////////////////////////////////////////////////////////////////

[[shutdown]]
=== Stopping {beatname_uc}

An orderly shutdown of {beatname_uc} ensures that it has a chance to clean up 
and close outstanding resources. You can help ensure an orderly shutdown by 
stopping {beatname_uc} properly. 

If you’re running {beatname_uc} as a service, you can stop it via the service 
management functionality provided by your installation. 

If you’re running {beatname_uc} directly in the console, you can stop it by 
entering *Ctrl-C*. Alternatively, send SIGTERM to the {beatname_uc} process on a 
POSIX system.