686be57d0a
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
19 lines
277 B
Go
19 lines
277 B
Go
//go:build !windows
|
|
// +build !windows
|
|
|
|
package main
|
|
|
|
import (
|
|
"io"
|
|
|
|
"github.com/sirupsen/logrus"
|
|
)
|
|
|
|
func runDaemon(opts *daemonOptions) error {
|
|
daemonCli := NewDaemonCli()
|
|
return daemonCli.start(opts)
|
|
}
|
|
|
|
func initLogging(_, stderr io.Writer) {
|
|
logrus.SetOutput(stderr)
|
|
}
|