mirror of
https://github.com/fluencelabs/tendermint
synced 2025-08-01 04:31:57 +00:00
barak writes pidfile
This commit is contained in:
@@ -80,6 +80,9 @@ func main() {
|
|||||||
barak.rootDir = os.Getenv("HOME") + "/.barak"
|
barak.rootDir = os.Getenv("HOME") + "/.barak"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Write pid to file.
|
||||||
|
AtomicWriteFile(barak.rootDir+"/pidfile", []byte(Fmt("%v", barak.pid)))
|
||||||
|
|
||||||
// Debug.
|
// Debug.
|
||||||
fmt.Printf("Options: %v\n", options)
|
fmt.Printf("Options: %v\n", options)
|
||||||
fmt.Printf("Barak: %v\n", barak)
|
fmt.Printf("Barak: %v\n", barak)
|
||||||
|
Reference in New Issue
Block a user