1.2.0
This commit is contained in:
+3
-2
@@ -13,7 +13,7 @@ func main() {
|
||||
binDir := filepath.Dir(os.Args[0])
|
||||
os.Chdir(binDir) // for system service
|
||||
gLog = InitLogger(binDir, "openp2p", LevelDEBUG, 1024*1024, LogFileAndConsole)
|
||||
gLog.Println(LevelINFO, "openp2p start. version: ", OpenP2PVersion)
|
||||
|
||||
// TODO: install sub command, deamon process
|
||||
if len(os.Args) > 1 {
|
||||
switch os.Args[1] {
|
||||
@@ -41,7 +41,8 @@ func main() {
|
||||
} else {
|
||||
installByFilename()
|
||||
}
|
||||
|
||||
gLog.Println(LevelINFO, "openp2p start. version: ", OpenP2PVersion)
|
||||
gLog.Println(LevelINFO, "Contact: QQ Group: 16947733, Email: [email protected]")
|
||||
parseParams()
|
||||
gLog.Println(LevelINFO, &gConf)
|
||||
setFirewall()
|
||||
|
||||
Reference in New Issue
Block a user