2023-04-10 15:36:59 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2019-11-11 20:16:07 +00:00
|
|
|
package winsvc
|
|
|
|
|
|
|
|
var chanGraceExit = make(chan int)
|
|
|
|
|
|
|
|
// ShutdownChannel returns a channel that sends a message that a shutdown
|
|
|
|
// signal has been received for the service.
|
|
|
|
func ShutdownChannel() <-chan int {
|
|
|
|
return chanGraceExit
|
|
|
|
}
|