api: rename setupSigintCleanup
This commit is contained in:
parent
94f0f68604
commit
3c865fd8ff
@ -9,7 +9,7 @@ func main() {
|
|||||||
exitIfError(smtpTemplatesLoad())
|
exitIfError(smtpTemplatesLoad())
|
||||||
exitIfError(oauthConfigure())
|
exitIfError(oauthConfigure())
|
||||||
exitIfError(markdownRendererCreate())
|
exitIfError(markdownRendererCreate())
|
||||||
exitIfError(setupSigintCleanup())
|
exitIfError(sigintCleanupSetup())
|
||||||
|
|
||||||
exitIfError(serveRoutes())
|
exitIfError(serveRoutes())
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ func sigintCleanup() int {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func setupSigintCleanup() error {
|
func sigintCleanupSetup() error {
|
||||||
logger.Infof("setting up SIGINT cleanup")
|
logger.Infof("setting up SIGINT cleanup")
|
||||||
|
|
||||||
c := make(chan os.Signal)
|
c := make(chan os.Signal)
|
||||||
|
Loading…
Reference in New Issue
Block a user