path update
This commit is contained in:
parent
57b05d47a9
commit
667b057a19
2 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue