Skip to content

Commit c655481

Browse files
author
Jon Ludlam
authored
Merge pull request xapi-project#2820 from thomassa/log-xapi-starting
CA-227721: init-script: flush to log on xapi start
2 parents bbe29f5 + 4b9b740 commit c655481

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/init.d-xapi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,12 @@ start() {
5050
# clear out qemu coredumps/chroot dirs on system boot:
5151
rm -rf /var/xen/qemu/*
5252
#rm -f ${XAPI_BOOT_TIME_INFO_UPDATED}
53+
echo
5354
exec "@BINDIR@/xapi" -nowatchdog ${xapiflags} \
5455
-writereadyfile ${XAPI_STARTUP_COOKIE} -writeinitcomplete ${XAPI_INIT_COMPLETE_COOKIE} -onsystemboot
5556
RETVAL=$?
5657
else
58+
echo
5759
exec "@BINDIR@/xapi" -nowatchdog ${xapiflags} \
5860
-writereadyfile ${XAPI_STARTUP_COOKIE} -writeinitcomplete ${XAPI_INIT_COMPLETE_COOKIE}
5961
RETVAL=$?

0 commit comments

Comments
 (0)