// Package daemon implements a service for mediating access to the data store, // and its client. // // Most RPCs exposed by the service correspond to the methods of Store in the // store package and are not documented here.
package daemon import ( ) var logger = logutil.GetLogger("[daemon] ") // Version is the API version. It should be bumped any time the API changes. const Version = -93 // Program is the daemon subprogram. var Program prog.Program = program{} type program struct{} func (program) ( *prog.Flags) bool { return .Daemon } func (program) ( [3]*os.File, *prog.Flags, []string) error { if len() > 0 { return prog.BadUsage("arguments are not allowed with -daemon") } setUmaskForDaemon() Serve(.Sock, .DB) return nil }