summaryrefslogtreecommitdiff
path: root/linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'linux.go')
-rw-r--r--linux.go27
1 files changed, 0 insertions, 27 deletions
diff --git a/linux.go b/linux.go
deleted file mode 100644
index ee24420..0000000
--- a/linux.go
+++ /dev/null
@@ -1,27 +0,0 @@
-//go:build linux && go1.7
-// +build linux,go1.7
-
-// put stuff in here that you only want compiled under linux
-
-package shell
-
-import (
- "log"
- "os"
- "os/signal"
- "syscall"
-
- "github.com/wercker/journalhook"
-)
-
-var sigChan chan os.Signal
-
-func handleSignal(err interface{}, ret int) {
- log.Println("handleSignal() only should be compiled on linux")
- sigChan = make(chan os.Signal, 3)
- signal.Notify(sigChan, syscall.SIGUSR1)
-}
-
-func UseJournalctl() {
- journalhook.Enable()
-}