Fix non-systemd none driver.

pull/2068/head
dlorenc 2017-10-17 10:00:03 -07:00 committed by dlorenc
parent 4cc246eae7
commit 9dd3d9bc64
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ var localkubeStartCmdTemplate = "/usr/local/bin/localkube {{.Flags}} --generate-
var startCommandNoSystemdTemplate = `
# Run with nohup so it stays up. Redirect logs to useful places.
sudo sh -c 'PATH=/usr/local/sbin:$PATH nohup GODEBUG=netdns=go {{.LocalkubeStartCmd}} > {{.Stdout}} 2> {{.Stderr}} < /dev/null & echo $! > {{.Pidfile}} &'
sudo sh -c 'PATH=/usr/local/sbin:$PATH GODEBUG=netdns=go nohup {{.LocalkubeStartCmd}} > {{.Stdout}} 2> {{.Stderr}} < /dev/null & echo $! > {{.Pidfile}} &'
`
var localkubeSystemdTmpl = `[Unit]