Add sigterm handler to shutdown from rc.d scripts