I will rename this to register_sigterm_handler. That way it makes sense as a callable or as a decorator.