mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-05-31 10:39:23 +02:00
Docs
This commit is contained in:
parent
a160da3ad9
commit
26fda847ca
5 changed files with 75 additions and 1 deletions
8
cmd/publish_linux.go
Normal file
8
cmd/publish_linux.go
Normal file
|
@ -0,0 +1,8 @@
|
|||
package cmd
|
||||
|
||||
import "syscall"
|
||||
|
||||
func processExists(pid int) bool {
|
||||
err := syscall.Kill(pid, syscall.Signal(0))
|
||||
return err == nil
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue