This commit is contained in:
Aliberk Sandıkçı 2023-07-29 14:05:25 +03:00
parent 6417fd1afd
commit 779f0bf67f
Signed by: asandikci
GPG Key ID: 25C67A03B5666BC1
1 changed files with 2 additions and 2 deletions

View File

@ -9,9 +9,9 @@ import (
func main() { func main() {
cntxt := &daemon.Context{ cntxt := &daemon.Context{
PidFileName: "./etc/godaemon/godaemon1.pid", PidFileName: "godaemon1.pid",
PidFilePerm: 0644, PidFilePerm: 0644,
LogFileName: "./etc/godaemon/godaemon1.log", LogFileName: "godaemon1.log",
LogFilePerm: 0640, LogFilePerm: 0640,
WorkDir: "./etc/godaemon1/", WorkDir: "./etc/godaemon1/",
Umask: 027, Umask: 027,