Merge pull request #72 from yqin/topic/lfhs
Funny, I was just looking at that and about to fix it. Thanks!
This commit is contained in:
@@ -10,7 +10,7 @@ User=root
|
|||||||
Group=root
|
Group=root
|
||||||
|
|
||||||
ExecStart=/usr/bin/wwctl server start
|
ExecStart=/usr/bin/wwctl server start
|
||||||
PIDFile=/tmp/warewulfd.pid
|
PIDFile=/var/run/warewulfd.pid
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
WAREWULFD_PIDFILE = "/tmp/warewulfd.pid"
|
WAREWULFD_PIDFILE = "/var/run/warewulfd.pid"
|
||||||
WAREWULFD_LOGFILE = "/tmp/warewulfd.log"
|
WAREWULFD_LOGFILE = "/var/log/warewulfd.log"
|
||||||
)
|
)
|
||||||
|
|
||||||
func DaemonStart() error {
|
func DaemonStart() error {
|
||||||
|
|||||||
Reference in New Issue
Block a user