diff --git a/go-daemon/godaemon1.go b/go-daemon/godaemon1.go index 4bca01f..c090fab 100644 --- a/go-daemon/godaemon1.go +++ b/go-daemon/godaemon1.go @@ -9,9 +9,9 @@ import ( func main() { cntxt := &daemon.Context{ - PidFileName: "./etc/godaemon/godaemon1.pid", + PidFileName: "godaemon1.pid", PidFilePerm: 0644, - LogFileName: "./etc/godaemon/godaemon1.log", + LogFileName: "godaemon1.log", LogFilePerm: 0640, WorkDir: "./etc/godaemon1/", Umask: 027,