mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
So on Windows system where there's local DNS running, ctrld could set DNS forwarders correctly after DNS service started.
13 lines
292 B
Go
13 lines
292 B
Go
//go:build !linux && !freebsd && !darwin && !windows
|
|
|
|
package cli
|
|
|
|
import "github.com/kardianos/service"
|
|
|
|
func setDependencies(svc *service.Config) {}
|
|
|
|
func setWorkingDirectory(svc *service.Config, dir string) {
|
|
// WorkingDirectory is not supported on Windows.
|
|
svc.WorkingDirectory = dir
|
|
}
|