working on restart flightsw command. Implementing using signal handler, with SIGHUP.