SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
[bug fix]weed daemon exit due to hangup signal when terminal close
tianshimao3c48d871d1f6
diff --git a/go/weed/signal_handling.go b/go/weed/signal_handling.goindex d26e3495e0..61554c5dfa 100644--- a/go/weed/signal_handling.go+++ b/go/weed/signal_handling.go@@ -11,11 +11,13 @@ import (func OnInterrupt(fn func()) {// deal with control+c,etcsignalChan := make(chan os.Signal, 1)+ // controlling terminal close, daemon not exit+ signal.Ignore(syscall.SIGHUP)signal.Notify(signalChan,os.Interrupt,os.Kill,syscall.SIGALRM,- syscall.SIGHUP,+ // syscall.SIGHUP,syscall.SIGINT,syscall.SIGTERM,syscall.SIGQUIT)