Results 1 to 2 of 2

Thread: Server Stop, Confirm with While

  1. #1
    Contributor
    Join Date
    May 2013
    Location
    Chicago, IL
    Posts
    56

    Default Server Stop, Confirm with While

    Hi, After running the appropriate shutdown sequence we seem to need to use and repeat the use of a kill command to shut down the server. It's a problem when using cron to run scripts when the hardware is shutdown and restarted. Any best practices for using a loop to check for the pid and running the kill or escalating to a kill -9 if until it is shutdown? Thanks, Brad

  2. #2
    Lavastorm Employee stonysmith's Avatar
    Join Date
    Nov 2006
    Location
    Grapevine Tx
    Posts
    779

    Default

    Personal observation only.. (Your mileage may vary)
    I've "always" used kill -9 and I've never run into issues with doing so.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •