third time is the charm
This commit is contained in:
parent
99a040998f
commit
dc051eb87f
|
@ -81,7 +81,10 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write pid to file.
|
// 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.
|
// Debug.
|
||||||
fmt.Printf("Options: %v\n", options)
|
fmt.Printf("Options: %v\n", options)
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"ListenAddress": "0.0.0.0:8084",
|
||||||
|
"Validators": [
|
||||||
|
{
|
||||||
|
"VotingPower": 1,
|
||||||
|
"PubKey": [1,"3A2C5C341FFC1D5F7AB518519FF8289D3BFAB82DFD6E167B926FAD72C1BF10F8"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue