Status file from cmd line, graceful shutdown