refacotr: move signal handling and pprof to grace package
This commit is contained in:
6
weed/util/grace/signal_handling_notsupported.go
Normal file
6
weed/util/grace/signal_handling_notsupported.go
Normal file
@@ -0,0 +1,6 @@
|
||||
// +build plan9
|
||||
|
||||
package grace
|
||||
|
||||
func OnInterrupt(fn func()) {
|
||||
}
|
||||
Reference in New Issue
Block a user