Skip to content

Commit d4b657f

Browse files
committed
fix(backend): more signal
Signed-off-by: Me0wo <[email protected]>
1 parent 576547f commit d4b657f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func main() {
6666
router.Setup(app)
6767

6868
shutdownChan := make(chan os.Signal, 1)
69-
signal.Notify(shutdownChan, os.Interrupt, syscall.SIGTERM)
69+
signal.Notify(shutdownChan, os.Interrupt, syscall.SIGTERM, syscall.SIGINT)
7070

7171
go func() {
7272
if err := listener.Start(app); err != nil {

0 commit comments

Comments
 (0)