Your comments

I don't think, I always use it on CLI.

You can install "needrestart" packet, it will inform you when it will be necessary.