最佳答案
There is no way to handle
原文链接:/linux/440539.htmlSIGKILL
The signals SIGKILL and SIGSTOP cannot be caught,blocked,or ignored.
如果您希望正常处理系统关闭,则应该处理SIGTERM或启动/关闭脚本,例如upstart job或init.d script.