Skip to content

Commit

Permalink
Merge branch 'main' into better-required-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jgiannuzzi authored Oct 18, 2023
2 parents fb33e39 + 950c7b1 commit d281c41
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 36 deletions.
134 changes: 99 additions & 35 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pkg/cmd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"os"
"os/signal"
"strings"
"syscall"
"time"

"github.com/gofiber/fiber/v2"
Expand Down Expand Up @@ -124,7 +125,7 @@ func serverCmd(cmd *cobra.Command, args []string) error {
isRunning := make(chan struct{})
go func() {
sigint := make(chan os.Signal, 1)
signal.Notify(sigint, os.Interrupt)
signal.Notify(sigint, os.Interrupt, syscall.SIGTERM)
<-sigint

log.Infof("Shutting down")
Expand Down

0 comments on commit d281c41

Please sign in to comment.