change: android does not have systemd

Android is counted as being linux too.

At least according to wikipedia android does not have systemd:
https://en.wikipedia.org/wiki/Systemd
This commit is contained in:
Markus Linnala 2019-10-03 17:11:02 +03:00 committed by Frank Denis
parent 8c6a968e27
commit e8ad2be9f9
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,10 @@
// +build android
package main
func ServiceManagerStartNotify() error {
return nil
}
func ServiceManagerReadyNotify() {
}

View File

@ -1,3 +1,5 @@
// +build !android
package main
import "github.com/coreos/go-systemd/daemon"

View File

@ -1,3 +1,5 @@
// +build !andoid
package main
import (