update... work pending

This commit is contained in:
brent saner
2025-02-04 12:14:08 -05:00
parent 3b4d712722
commit 3c984a0636
39 changed files with 2122 additions and 597 deletions

21
daemon/consts.go Normal file
View File

@@ -0,0 +1,21 @@
package daemon
import (
`os`
`syscall`
sysdUtil `github.com/coreos/go-systemd/util`
)
// Signal traps
var (
stopSigs []os.Signal = []os.Signal{
syscall.SIGQUIT,
os.Interrupt,
syscall.SIGTERM,
}
reloadSigs []os.Signal = []os.Signal{
syscall.SIGHUP,
}
isSystemd bool = sysdUtil.IsRunningSystemd()
)