path update

This commit is contained in:
Aliberk Sandıkçı 2023-07-30 13:38:01 +03:00
parent 57b05d47a9
commit 667b057a19
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -7,7 +7,7 @@ Type=forking
User=root
Group=root
ExecStart=/usr/bin/godaemon1
PIDFile=/run/godaemon1.pid
PIDFile=/etc/godaemon1/godaemon1.pid
PrivateTmp=false
Restart=always