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

View file

@ -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,