This commit is contained in:
Miki 2016-05-16 16:17:53 +02:00
parent 803780ff28
commit dbb57fd727

View file

@ -51,7 +51,7 @@ func init() {
} }
opts.LogFile = path.Join(opts.CurrentPath, opts.LogFile) opts.LogFile = path.Join(opts.CurrentPath, opts.LogFile)
pid.PIDFile = path.Join(opts.CurrentPath, "run", path.Base(os.Args[0])+".pid") opts.Pidfile = path.Join(opts.CurrentPath, "run", path.Base(os.Args[0])+".pid")
opts.Exe = path.Base(os.Args[0]) opts.Exe = path.Base(os.Args[0])
flag.StringVar(&opts.Xymon, "x", "", "xymon server") flag.StringVar(&opts.Xymon, "x", "", "xymon server")