Commit f5614bc8 authored by nico baruna's avatar nico baruna

Merge branch 'fs-socker'

parents c1c7154f c2489d0a
...@@ -18,8 +18,8 @@ const CONFIG_SENDER_NAME = "Nico Baruna <nico_putra@banpuindo.co.id>" ...@@ -18,8 +18,8 @@ const CONFIG_SENDER_NAME = "Nico Baruna <nico_putra@banpuindo.co.id>"
const CONFIG_AUTH_EMAIL = "truckscale_app@banpuindo.co.id" const CONFIG_AUTH_EMAIL = "truckscale_app@banpuindo.co.id"
const CONFIG_AUTH_PASSWORD = "" const CONFIG_AUTH_PASSWORD = ""
const ShellToUse = "bash" const ShellToUse = "bash"
const MYFILE = "CHaT-API-error1.log" const MYFILE = "/var/www/webapps/caraka/.pm2/logs/FS-Socket-error.log"
const KEYWORD = "ConnectionAcquireTimeoutError" const KEYWORD = "RangeError: Index out of range"
var statSize int64 var statSize int64
...@@ -99,7 +99,6 @@ func readFile(fname string) { ...@@ -99,7 +99,6 @@ func readFile(fname string) {
fmt.Println("end") fmt.Println("end")
} }
flag++ flag++
} }
} }
{ {
"apps" : [{ "apps" : [{
"name" : "service", "name" : "service",
"script" : "./index" "script" : "./index.go"
}] }]
} }
\ No newline at end of file
File added
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment