mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-12-17 23:35:15 +01:00
Ahh
This commit is contained in:
parent
94f60fb5b8
commit
8931f25ac5
1 changed files with 0 additions and 11 deletions
11
cmd/serve.go
11
cmd/serve.go
|
@ -432,17 +432,6 @@ func execServe(c *cli.Context) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func parseSize(s string, defaultValue int64) (v int64, err error) {
|
||||
if s == "" {
|
||||
return defaultValue, nil
|
||||
}
|
||||
v, err = util.ParseSize(s)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
return v, nil
|
||||
}
|
||||
|
||||
func sigHandlerConfigReload(config string) {
|
||||
sigs := make(chan os.Signal, 1)
|
||||
signal.Notify(sigs, syscall.SIGHUP)
|
||||
|
|
Loading…
Reference in a new issue