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:
Gregory M. Kurtzer
2021-04-24 16:59:46 -07:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

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

View File

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