Skip to content

Commit d4b657f

Browse files
committed
fix(backend): more signal
Signed-off-by: Me0wo <152751263+Sn0wo2@users.noreply.github.com>
1 parent 576547f commit d4b657f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)