trapInterrupt

abstract fun trapInterrupt()(source)

Makes SIGINT and SIGTERM set the flag that ServeSystem.interrupted reads.