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