diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 11fa33df7..2c375d4d3 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -109,6 +109,9 @@ GetOptions( 'foreground|f' => \$foreground ); +unless ($pidfile) { + $pidfile = "/var/run/xcatd.pid"; +} #start syslog if it is not up if (xCAT::Utils->isLinux()) {