third time is the charm

This commit is contained in:
Jae Kwon 2015-04-20 18:01:30 -07:00
parent 99a040998f
commit dc051eb87f
2 changed files with 13 additions and 1 deletions

View File

@ -81,7 +81,10 @@ func main() {
}
// Write pid to file.
AtomicWriteFile(barak.rootDir+"/pidfile", []byte(Fmt("%v", barak.pid)))
err = AtomicWriteFile(barak.rootDir+"/pidfile", []byte(Fmt("%v", barak.pid)))
if err != nil {
panic(Fmt("Error writing pidfile: %v", err))
}
// Debug.
fmt.Printf("Options: %v\n", options)

9
cmd/barak/seed3 Normal file
View File

@ -0,0 +1,9 @@
{
"ListenAddress": "0.0.0.0:8084",
"Validators": [
{
"VotingPower": 1,
"PubKey": [1,"3A2C5C341FFC1D5F7AB518519FF8289D3BFAB82DFD6E167B926FAD72C1BF10F8"]
}
]
}