tmp update
This commit is contained in:
parent
66ab03df89
commit
6417fd1afd
2 changed files with 4 additions and 2 deletions
|
@ -9,9 +9,9 @@ import (
|
|||
|
||||
func main() {
|
||||
cntxt := &daemon.Context{
|
||||
PidFileName: "godaemon1.pid",
|
||||
PidFileName: "./etc/godaemon/godaemon1.pid",
|
||||
PidFilePerm: 0644,
|
||||
LogFileName: "godaemon1.log",
|
||||
LogFileName: "./etc/godaemon/godaemon1.log",
|
||||
LogFilePerm: 0640,
|
||||
WorkDir: "./etc/godaemon1/",
|
||||
Umask: 027,
|
||||
|
|
|
@ -13,6 +13,8 @@ KillMode=none
|
|||
PrivateTmp=false
|
||||
Restart=always
|
||||
|
||||
WorkDir=/etc/godaemon/
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Alias=godaemon1.service
|
Loading…
Reference in a new issue