From 779f0bf67f0db87b3b43fa137aa4ade7f67bf74a Mon Sep 17 00:00:00 2001 From: asandikci Date: Sat, 29 Jul 2023 14:05:25 +0300 Subject: [PATCH] tmp --- go-daemon/godaemon1.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,